code: public static boolean isArchiveFileName(String fileName) {
          String extension = getExtension(fileName);
          return ARCHIVE_EXTENSION_SET.contains(extension);
      }
docs: Determine whether or not the given filename appears to identify a zip/jar
  archive.
  
  @param fileName
  the filename
  @return true if the filename appears to identify an archive, false
  otherwise