question: returns true if the given state is currently active otherwise false . concode_field_sep boolean event1 concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInterface getSCInterface concode_elem_sep void exitAction concode_elem_sep void raiseEvent1 concode_elem_sep void raiseEvent1 concode_elem_sep void runCycle concode_elem_sep void reactMain_region_A concode_elem_sep void exit concode_elem_sep void reactMain_region__final_0 concode_elem_sep void reactMain_region_B concode_elem_sep void clearEvents concode_elem_sep void clearEvents concode_elem_sep void enter concode_elem_sep void clearOutEvents concode_elem_sep void entryAction
target: boolean function ( State arg0 ) { switch ( arg0 ) { case main_region_A : return stateVector [ 0 ] == State . main_region_A ; case main_region_B : return stateVector [ 0 ] == State . main_region_B ; case main_region__final_ : return stateVector [ 0 ] == State . main_region__final_ ; default : return false ; } }