code: def _should_embed_js_with_html() -> bool:
      from IPython import get_ipython
  
      ip = get_ipython()
      if ip is None:
          return True
      return "BentoApp" in ip.config
  
imports: import uuid
  import html
  import typing
  import json
  from pathlib import Path
  import IPython.display
  from ipykernel.comm import Comm
  from .None import experiment
  from .render import escapejs, make_experiment_standalone_page
label_desc: Use image node_id 2 for calling a global function with example usage: _should_embed_js_with_html() and returns: unknown, True