code: def in_ipython_frontend():
      """
      check if we're inside an an IPython zmq frontend
      """
      try:
          ip = get_ipython()  # noqa
          return "zmq" in str(type(ip)).lower()
      except NameError:
          pass
  
      return False
  
file_path: catboost/contrib/python/pandas/py2/pandas/io/formats/console.py
imports: import locale
  import sys
  from pandas.io.formats.terminal import get_terminal_size
label_desc: Use image node_id 6 for calling a global function with example usage: in_ipython_frontend() and returns: False, unknown