code: def has_jupyter_extra():
      try:
          from ..widget import DeckGLWidget
  
          DeckGLWidget()
          return True
      except (ImportError, NotImplementedError):
          return False
  
file_path: deck.gl/bindings/pydeck/pydeck/bindings/deck.py
imports: import os
  import sys
  from .json_tools import JSONMixin
  from .layer import Layer
  from ..io.html import deck_to_html
  from ..settings import settings
  from .view import View
  from .view_state import ViewState
  from .base_map_provider import BaseMapProvider
  from .map_styles import DARK, get_from_map_identifier
label_desc: Use image node_id 1 for calling a global function with example usage: has_jupyter_extra() and returns: True, False