code: def extract_object_name(key):
      """Substrings the checkpoint key to the start of "/.ATTRIBUTES"."""
      search_key = "/" + OBJECT_ATTRIBUTES_NAME
      return key[: key.index(search_key)]
  
file_path: tensorflow/tensorflow/python/trackable/trackable_utils.py
imports: from __future__ import absolute_import
  from __future__ import division
  from __future__ import print_function
  import collections
label_desc: Use image node_id 6 for calling a global function with example usage: extract_object_name(key) and returns: key