public boolean hasVariable(String name){
  return variables != null && variables.containsKey(name);
}

public boolean hasVariable ( String name ) { return variables != null && variables . containsKey ( name ) ; }
simple check for whether the binding contains a particular variable or not .
