code: protected boolean isCompressedFile(Path path) {
          return path != null && (path.toString().startsWith("jar:") || path.toString().toLowerCase().endsWith(".jar") || path.toString().toLowerCase().endsWith(".zip"));
      }
docs: Returns true if the given path is a compressed file.