code: public static boolean containsAnyEntry(File zip, String[] names) {
      ZipFile zf = null;
      try {
        zf = new ZipFile(zip);
        for (int i = 0; i < names.length; i++) {
          if (zf.getEntry(names[i]) != null) {
            return true;
          }
        }
        return false;
      }
      catch (IOException e) {
        throw ZipExceptionUtil.rethrow(e);
      }
      finally {
        closeQuietly(zf);
      }
    }
docs: Checks if the ZIP file contains any of the given entries.
  
  @param zip
  ZIP file.
  @param names
  entry names.
  @return <code>true</code> if the ZIP file contains any of the given
  entries.