private static boolean isJar(String fileName) {
    return fileName != null && (fileName.toLowerCase().endsWith(".jar")
        || fileName.toLowerCase().endsWith(".war") || fileName.toLowerCase().endsWith(".ear"));
  }
Classloader, which allows finding classes in jars within jars. This is used to check whether a
listener, as found in web.xml, is a ServletContextListener
extensions/geode-modules-session/src/main/java/org/apache/geode/modules/session/installer/JarClassLoader.java