code: def exists_locally(cls, path):
      
      # If INFO file doesn't exist, consider resource does NOT exist, as it would
      # prevent guessing the `extract_method`.
      return (tf.io.gfile.exists(path) and
              tf.io.gfile.exists(_get_info_path(path)))
docs: Returns whether the resource exists locally, at `resource.path`.