code: def get_handle(sID, dask_worker=None):
      """
      Returns the handle from within the worker using the sessionstate.
      """
      if dask_worker is None:
          dask_worker = get_worker()
      sessionstate = get_raft_comm_state(sID, dask_worker)
      return sessionstate["handle"]
  
file_path: cugraph/python/cugraph/cugraph/dask/comms/comms.py
imports: from cugraph.dask.common.read_utils import MissingUCXPy
  from pylibraft.common.handle import Handle
  from cugraph.dask.comms.comms_wrapper import init_subcomms
  from dask.distributed import default_client, get_worker
  from cugraph.dask.common import read_utils
  import math
label_desc: Use image node_id 12 for calling a global function with example usage: get_handle(sID, dask_worker) and returns: sessionstate