private boolean shouldCheckApiVersionOnPath(String path){
  for (  Pattern filterPattern : API_VERSION_FILTER_PATTERNS) {
    Matcher matcher=filterPattern.matcher(path);
    if (matcher.matches()) {
      return true;
    }
  }
  return false;
}

private boolean shouldCheckApiVersionOnPath ( String path ) { for ( Pattern filterPattern : API_VERSION_FILTER_PATTERNS ) { Matcher matcher = filterPattern . matcher ( path ) ; if ( matcher . matches ( ) ) { return true ; } } return false ; }
checks to see if the given path matches any of the api version filter paths .
