code: def entry_exists_on_disk(self, name):
          
          try:
              d = self.on_disk_entries
          except AttributeError:
              d = {}
              try:
                  entries = os.listdir(self._abspath)
              except OSError:
                  pass
              else:
                  for entry in map(_my_normcase, entries):
                      d[entry] = True
              self.on_disk_entries = d
          if sys.platform == 'win32' or sys.platform == 'cygwin':
              name = _my_normcase(name)
              result = d.get(name)
              if result is None:
                  # Belt-and-suspenders for Windows:  check directly for
                  # 8.3 file names that don't show up in os.listdir().
                  result = os.path.exists(self._abspath + OS_SEP + name)
                  d[name] = result
              return result
          else:
              return name in d
docs: Searches through the file/dir entries of the current
              directory, and returns True if a physical entry with the given
              name could be found.
  
              @see rentry_exists_on_disk