finesse.env.is_interactive

finesse.env.is_interactive()[source]

Check if Finesse is being run from an interactive environment.

Returns:
bool

True if a Jupyter notebook, Qt console or IPython shell is in use, False otherwise.