public static boolean isVarValue ( Object val ) { return val == null || ! val . getClass ( ) . equals ( String . class ) || varValueRegex_ . matcher ( val . toString ( ) ) . matches ( ) ; }
Returns true if the given string is a valid variable value .