code: def _get_value_in_tfconfig(key, port, default=None):
      tf_config = _load_tf_config(port)
      return tf_config[key] if key in tf_config else default
  
file_path: tensorflow-upstream/tensorflow/python/distribute/cluster_resolver/sagemaker_cluster_resolver.py
imports: import json
  import os
  from tensorflow.python.distribute.cluster_resolver.cluster_resolver import ClusterResolver
  from tensorflow.python.training.server_lib import ClusterSpec
label_desc: Use image node_id 3 for calling a global function with example usage: _get_value_in_tfconfig(key, port, default) and returns: unknown