code: def is_running_from_ipython():
      from IPython import get_ipython
  
      return get_ipython() is not None
  
file_path: bluefog/bluefog/common/util.py
imports: from contextlib import contextmanager
  from multiprocessing import Process, Queue
  import os
  import sysconfig
label_desc: Use image node_id 1 for calling a global function with example usage: is_running_from_ipython() and returns: unknown