code: def is_resource(self, path):
      # workaround for `zipfile.Path.is_file` returning true
      # for non-existent paths.
      target = self.files().joinpath(path)
      return target.is_file() and target.exists()
  
imports: import collections
  import pathlib
  import operator
  from .None import abc
  from ._itertools import unique_everseen
  from ._compat import ZipPath
label_desc: Use image node_id 3 for calling the ZipReader obj's underlying member method code with example usage: obj.is_resource(path) and returns: unknown