# is_interactive_env

> **Function** in `langchain_classic`

📖 [View in docs](https://reference.langchain.com/python/langchain-classic/_api/interactive_env/is_interactive_env)

Determine if running within IPython or Jupyter.

## Signature

```python
is_interactive_env() -> bool
```

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/c2f4036e4c6ca45a8da8a42d8e07a25d2ea48b8f/libs/langchain/langchain_classic/_api/interactive_env.py#L1)