# is_interactive_env

> **Function** in `langchain_core`

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

Determine if running within IPython or Jupyter.

## Signature

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

## Returns

`bool`

`True` if running in an interactive environment, `False` otherwise.

---

[View source on GitHub](https://github.com/langchain-ai/langchain/blob/02991cb4cf2063d51a07268edafb05fe53de1826/libs/core/langchain_core/utils/interactive_env.py#L6)