returns true if the given state is currently active otherwise false . concode_field_sep SCInterfaceImpl sCInterface concode_elem_sep int nextStateIndex concode_elem_sep boolean v2 concode_elem_sep long value concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInterface getSCInterface concode_elem_sep void exitAction concode_elem_sep void runCycle concode_elem_sep boolean getV2 concode_elem_sep boolean getV2 concode_elem_sep long getValue concode_elem_sep long getValue concode_elem_sep void exit concode_elem_sep void reactMain_region_StateA concode_elem_sep void setValue concode_elem_sep void setValue concode_elem_sep void clearEvents concode_elem_sep void reactMain_region_StateB concode_elem_sep void setV2 concode_elem_sep void setV2 concode_elem_sep void enter concode_elem_sep void clearOutEvents concode_elem_sep void entryAction
boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_StateA : return stateVector [ 0 ] == State . main_region_StateA ; case main_region_StateB : return stateVector [ 0 ] == State . main_region_StateB ; default : return false ; } }