public static boolean excludePath ( String path ) { String [ ] excludePatterns = SiteProperties . getExcludePatterns ( ) ; if ( ArrayUtils . isNotEmpty ( excludePatterns ) ) { return RegexUtils . matchesAny ( path , excludePatterns ) ; } else { return false ; } }
Returns true if the path should be excluded or ignored for targeting .