code: def get_instance() -> Runtime:
      """Return the singleton Runtime instance. Raise an Error if the
      Runtime hasn't been created yet.
      """
      return Runtime.instance()
  
imports: from streamlit.runtime.runtime import Runtime, RuntimeConfig, RuntimeState
  from streamlit.runtime.session_manager import SessionClient, SessionClientDisconnectedError
label_desc: Use image node_id 1 for calling a global function with example usage: get_instance() and returns: Runtime