protected boolean isJar(URL url) {
    return isJar(url, new byte[JAR_MAGIC.length]);
  }
Returns true if the resource located at the given URL is a JAR file.

@param url The URL of the resource to test.
src/main/java/org/apache/ibatis/io/DefaultVFS.java