code: def _is_IPython_display() -> bool:
      try:
          from IPython.display import display_html
  
          return True
      except ImportError:
          return False
  
file_path: lets-plot/python-package/lets_plot/frontend_context/_html_contexts.py
imports: import os
  from ._frontend_ctx import FrontendContext
  from ._jupyter_notebook_ctx import JupyterNotebookContext
  from ._static_html_page_ctx import StaticHtmlPageContext
  from .._global_settings import has_global_value, get_global_bool, HTML_ISOLATED_FRAME
label_desc: Use image node_id 4 for calling a global function with example usage: _is_IPython_display() and returns: True, False