code: def get_ipy():
      try:
          ip = get_ipython()  # noqa
      except:
          ip = None
      return ip
  
imports: import sys
  from collections.abc import Hashable
  from functools import wraps
  from packaging.version import Version
  from types import FunctionType
  import bokeh
  import numpy
  import pandas
  import param
  import holoviews
label_desc: Use image node_id 2 for calling a global function with example usage: get_ipy() and returns: ip