code: def has_tensor(self, tensor_str):
      return self._HasTensor(compat.as_bytes(tensor_str))
  
file_path: tensorflow-upstream/tensorflow/python/training/py_checkpoint_reader.py
imports: from tensorflow.python.framework import dtypes
  from tensorflow.python.framework import errors_impl
  from tensorflow.python.util import compat
  from tensorflow.python.util._pywrap_checkpoint_reader import CheckpointReader
  from tensorflow.python.util.tf_export import tf_export
label_desc: Use image node_id 3 for calling a global function with example usage: has_tensor(tensor_str) and returns: self