code: def detect_notebook_server():
      "Autodetects if user is in Jupyter or Zeppelin notebook."
  
      try:
          get_ipython()  # noqa F821
          return "jupyter"
      except NameError:
          return "zeppelin"
  
file_path: Pandas-Bokeh/pandas_bokeh/base.py
imports: import bokeh.plotting
  from bokeh.embed import components
  from bokeh.layouts import gridplot
  from bokeh.resources import CDN
label_desc: Use image node_id 5 for calling a global function with example usage: detect_notebook_server() and returns: str, str