code: def _checkpoint_file_exists(checkpoint_file_or_prefix):
      """Returns True if checkpoint file or files (for V2) exist."""
      return tf.gfile.Exists(
          checkpoint_file_or_prefix
      ) or tf.gfile.Exists(checkpoint_file_or_prefix + ".index")
  
imports: import abc
  import os
  import tempfile
  from note_seq.protobuf import generator_pb2
  import tensorflow.compat.v1
label_desc: Use image node_id 1 for calling a global function with example usage: _checkpoint_file_exists(checkpoint_file_or_prefix) and returns: unknown