code: def endswith(path: PathOrStr, suffixes: Tuple[str, ...]) -> bool:
      """
      Returns whether the path ends with one of the given suffixes.
      If `path` is not actually a path, returns True. This is useful
      for allowing interpreters to bypass inappropriate paths, but
      always accepting streams.
      """
      if isinstance(path, pathlib.Path):
          return path.suffix.lower() in suffixes
      if isinstance(path, str):
          return path.lower().endswith(suffixes)
      return True
  
file_path: pytorch3d/pytorch3d/io/pluggable_formats.py
imports: import pathlib
  from typing import Optional, Tuple
  from iopath.common.file_io import PathManager
  from pytorch3d.common.datatypes import Device
  from pytorch3d.io.utils import PathOrStr
  from pytorch3d.structures import Meshes, Pointclouds
label_desc: Use image node_id 1 for calling a global function with example usage: endswith(path, suffixes) and returns: True, unknown, path