code: def _is_Intellij_Python_Lets_Plot_Plugin() -> bool:
      try:
          # An empty marker module defined by Intellij Lets-Plot plugin
          # import lets_plot_intellij_python_plugin  <---- the old way.
  
          # The check above is not working with PyCharm remote interpreter: https://github.com/JetBrains/lets-plot/issues/348
  
          # 1) The "datalore.display" is present in both PyCharm and Datalore env.
          #    See `intellij.python.helpers` module in IDEA.
          from datalore.display import display
  
          # 2) The "DATALORE_HOME" is only present in Datalore env but not in PyCharm env.
          return "DATALORE_HOME" not in os.environ
      except ImportError:
          return False
  
imports: import os
  from ._frontend_ctx import FrontendContext
  from ._intellij_python_json_ctx import IntellijPythonJsonContext
label_desc: Use image node_id 2 for calling a global function with example usage: _is_Intellij_Python_Lets_Plot_Plugin() and returns: unknown, False