public static boolean isDeployedFile(String filename) {
    return DEPLOYED_FILE_PATTERN.matcher(filename).find();
  }
Peek into the JAR data and make sure that it is valid JAR content.

@param jarFile Jar containing data to be validated.
@return True if the data has JAR content, false otherwise
geode-management/src/main/java/org/apache/geode/management/internal/utils/JarFileUtils.java