code: def in_ipython_frontend() -> bool:
      """
      Check if we're inside an IPython zmq frontend.
  
      Returns
      -------
      bool
      """
      try:
          # error: Name 'get_ipython' is not defined
          ip = get_ipython()  # type: ignore[name-defined]
          return "zmq" in str(type(ip)).lower()
      except NameError:
          pass
  
      return False
  
imports: from __future__ import annotations
  from shutil import get_terminal_size
label_desc: Use image node_id 3 for calling a global function with example usage: in_ipython_frontend() and returns: False, unknown