()
Internal function that determines whether igraph is running inside
    IPython or not.
Internal function that determines whether igraph is running inside
    IPython or not.
Internal function that determines whether igraph is running inside IPython or not .
def _is_running_in_ipython():
    """Internal function that determines whether igraph is running inside
    IPython or not."""
    try:
        from IPython import get_ipython

        return get_ipython() is not None
    except ImportError:
        return False
def _is_running_in_ipython ( ) : try : from IPython import get_ipython return get_ipython ( ) is not None except ImportError : return False