static boolean isExpression ( final String string ) { if ( string == null ) { return false ; } return string . startsWith ( "${" ) && string . endsWith ( "}" ) ; }
Whether the string is a valid expression .