class_docstr: Represents a resource to download, extract, or both.
docstr: Returns whether the resource exists locally, at `resource.path`.
docstr_tok: ["Returns","whether","the","resource","exists","locally",",","at","`","resource.path","`","."]
code: def exists_locally(cls, path: epath.PathLike):
      """Returns whether the resource exists locally, at `resource.path`."""
      # If INFO file doesn't exist, consider resource does NOT exist, as it would
      # prevent guessing the `extract_method`.
      path = os.fspath(path)
      return tf.io.gfile.exists(path) and tf.io.gfile.exists(
          _get_info_path(path)
      )
  
imports: import base64
  import codecs
  import enum
  import hashlib
  import itertools
  import json
  import os
  import re
  from typing import Any, Optional
  from etils import epath
  from six.moves import urllib
  from tensorflow_datasets.core import utils
  from tensorflow_datasets.core.download import checksums
  from tensorflow_datasets.core.utils.lazy_imports_utils import tensorflow
label_desc: Use image node_id 2 for calling the Resource obj's underlying member method code with example usage: obj.exists_locally(cls, path) and returns: unknown