public boolean isState(String cls){
  return CLASS_STATE.equals(cls);
}

public boolean isState ( String cls ) { return CLASS_STATE . equals ( cls ) ; }
used when filtering and processing of state nodes .
