code: def __init__(self, offline: bool) -> None:
      super().__init__()
      self.connected = not offline
  
file_path: lets-plot/python-package/lets_plot/frontend_context/_jupyter_notebook_ctx.py
imports: import os
  import pkgutil
  import random
  import string
  from typing import Dict
  from ._frontend_ctx import FrontendContext
  from ..None import _kbridge
  from .._global_settings import get_js_cdn_url
  from .._global_settings import JS_BASE_URL, JS_NAME
  from .._version import __version__
label_desc: Use image node_id 1 to create a new JupyterNotebookContext object from inherited base classes: FrontendContext with example: obj = JupyterNotebookContext(offline)