code: def get_local_session():
      if not hasattr(init_data_model_parallel, "default_env"):
          raise Exception(
              "Current session is not initialized with: system.init_data_model_parallel() from tutel. Please try with: system.record_time(is_cuda=False)"
          )
      return init_data_model_parallel.default_env
  
file_path: tutel/tutel/system.py
imports: import os, sys
  import re
  import logging
label_desc: Use image node_id 4 for calling a global function with example usage: get_local_session() and returns: init_data_model_parallel