public static boolean isVariable(String expression){
  return expression.startsWith(PREFIX);
}

public static boolean isVariable ( String expression ) { return expression . startsWith ( PREFIX ) ; }
returns true if and only if the given name starts with the " $ " prefix .
