code: def _get_session(warn: bool = False):
      from ray.train._internal.session import _session as train_session
  
      return train_session
  
label_desc: Use image node_id 1 for calling a global function with example usage: _get_session(warn) and returns: train_session