Task: Detect IPython Notebook Execution Environment
Task: Detect IPython Notebook Execution Environment: a task in Terminal-Lego-15k (Harbor dataset). Create a Python utility module that can detect whether code is being executed in an IPython/Jupyter notebook environment versus a regular Python terminal, IPython terminal, or standard Python script.
Part of PrimeIntellect/Terminal-Lego-15k.