code: def has_file_with_suffix(self, suffixes):
          
          if not isinstance(suffixes, list):
              suffixes = [suffixes]
  
          if self.handle:
              for member in self.handle.getmembers():
                  if os.path.splitext(member.name)[1] in suffixes:
                      return True
                  else:
                      # hack for .zip files, where directories are not returned
                      # themselves, therefore we can't find e.g. .egg-info
                      for suffix in suffixes:
                          if '{0}/'.format(suffix) in member.name:
                              return True
  
          return False
docs: Finds out if there is a file with one of suffixes in the archive.
          Args:
              suffixes: list of suffixes or single suffix to look for
          Returns:
              True if there is at least one file with at least one given suffix
              in the archive, False otherwise (or archive can't be opened)