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