public static final boolean isValidQueryValue(String value){
  return value != null && value.matches(QUERY_VALUE_REGEX);
}

public static final boolean isValidQueryValue ( String value ) { return value != null && value . matches ( QUERY_VALUE_REGEX ) ; }
indicates whether the given query value is valid .
