code: def get_state_from_address(address=None):
      address = services.canonicalize_bootstrap_address_or_die(address)
  
      state = GlobalState()
      options = GcsClientOptions.from_gcs_address(address)
      state._initialize_global_state(options)
      return state
  
file_path: ray/python/ray/_private/internal_api.py
imports: import ray
  import ray._private.profiling
  import ray._private.services
  import ray._private.utils
  import ray._private.worker
  from ray._private import ray_constants
  from ray._private.state import GlobalState
  from ray._raylet import GcsClientOptions
label_desc: Use image node_id 2 for calling a global function with example usage: get_state_from_address(address) and returns: state