parameters: ()
return_statement: return False
docstring: Check if we're inside an IPython zmq frontend.
  
      Returns
      -------
      bool
docstring_summary: Check if we're inside an IPython zmq frontend.
docstring_tokens: Check if we re inside an IPython zmq frontend .
function: def in_ipython_frontend():
      """
      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
function_tokens: def in_ipython_frontend ( ) : 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