# 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/42f8f79293cfb7589e5bc1d74a8ae4dfd0bf15e3/libs/langchain/langchain_classic/_api/interactive_env.py#L1)