code: def _get_distribution(distribution):
      if hasattr(distribution, "__call__"):
          return (distribution, _process_), {}
  
      elif isinstance(distribution, dict):
          dist_key = list(distribution.keys())[0]
          dist_paras = list(distribution.values())[0]
  
          return dist_dict[dist_key], dist_paras
  
      elif isinstance(distribution, str):
          return dist_dict[distribution], {}
  
imports: from .distribution import single_process, joblib_wrapper, multiprocessing_wrapper, pathos_wrapper
  from .process import _process_
label_desc: Use image node_id 2 for calling a global function with example usage: _get_distribution(distribution) and returns: distribution,  _process_,  dict, dist_dict,  dist_paras, dist_dict,  dict