public boolean isDefined(Object attrName){
  return table.containsKey(attrName);
}

public boolean isDefined ( Object attrName ) { return table . containsKey ( attrName ) ; }
tells whether a given attribute is defined .
