code: def _using_ipython() -> bool:
      """Return whether the current process is running in an IPython shell.
  
      Returns
      -------
      result : bool
          Whether the current process is running in an IPython shell.
      """
      try:
          return get_ipython().__class__.__name__ == "ZMQInteractiveShell"  # type: ignore
      except NameError:
          return False
  
imports: import ctypes
  import os
  import shutil
  from typing import Any, Callable, List, Optional, Union
  import numpy
  import psutil
  from tvm._ffi import get_global_func, register_func
  from tvm.error import TVMError
  from tvm.ir import Array, IRModule, Map
  from tvm.rpc import RPCSession
  from tvm.runtime import PackedFunc, String
  from tvm.tir import FloatImm, IntImm
label_desc: Use image node_id 4 for calling a global function with example usage: _using_ipython() and returns: unknown, False