code: def get_current_dispatch_context():
      try:
          return _dispatch_context.current
      except AttributeError:
          return None
  
file_path: tensorflow-upstream/tensorflow/python/distribute/coordinator/coordinator_context.py
imports: import contextlib
  import threading
  from tensorflow.core.framework import attr_value_pb2
  from tensorflow.python.distribute.coordinator import remote_value
  from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import ops
  from tensorflow.python.framework import tensor
  from tensorflow.python.util import compat
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 1 for calling a global function with example usage: get_current_dispatch_context() and returns: _dispatch_context, None