Determines if the JAR file with the given <tt>jarPath</tt> needs to be
scanned for TLDs.

@param loader The current classloader in the parent chain
@param webappLoader The webapp classloader
@param jarPath The JAR file path

@return TRUE if the JAR file identified by <tt>jarPath</tt> needs to be
scanned for TLDs, FALSE otherwise

Keep in sync with o.a.jasper.compiler.TldLocationsCache