class_docstr: A Github tree of a repository.
class_docstr_tok: ["A","Github","tree","of","a","repository","."]
code: def is_file(self, path: pathlib.PurePosixPath) -> bool:
      parent_folder = _get_parent_folder(path)
      files = self.files_per_folder.get(parent_folder)
      if not files:
          return False
      file = _GithubElement(
          parent_folder=parent_folder, name=path.name, is_folder=False
      )
      return file in files
  
imports: import dataclasses
  import functools
  import os
  import pathlib
  import posixpath
  from typing import Iterator, Mapping, MutableMapping, Optional, Set, Tuple
  from etils import epath
  import requests
  from tensorflow_datasets.core import utils
label_desc: Use image node_id 2 for calling the _GithubTree obj's underlying member method code with example usage: obj.is_file(path) and returns: unknown, False