code: def requires_ipykernel_shim():
      if "ipykernel" in sys.modules:
          import ipykernel
  
          version = ipykernel.version_info
          return version < (6, 18)
      else:
          return False
  
imports: import sys
  from IPython import get_ipython
  import comm
label_desc: Use image node_id 1 for calling a global function with example usage: requires_ipykernel_shim() and returns: unknown, False