code: def get_context():
      context = getattr(_LAUNCH_CONTEXT, "lp_context", None)
      assert context, (
          "Launchpad context was not instantiated. Are you trying to "
          "access it outside of the node's main thread?"
      )
      return context
  
file_path: launchpad/launchpad/context.py
imports: import enum
  import threading
  from typing import Any, Callable, Optional, Union
label_desc: Use image node_id 1 for calling a global function with example usage: get_context() and returns: context