question: returns true if the given state is currently active otherwise false . concode_field_sep boolean e concode_elem_sep SCInterfaceImpl sCInterface concode_elem_sep boolean f concode_elem_sep boolean i1 concode_elem_sep boolean i2 concode_elem_sep int nextStateIndex concode_elem_sep State[] stateVector concode_field_sep void init concode_elem_sep SCInterface getSCInterface concode_elem_sep void reactR2_D concode_elem_sep void exitAction concode_elem_sep void reactR1_B concode_elem_sep void reactR1_A concode_elem_sep void reactR2_C concode_elem_sep void runCycle concode_elem_sep void raiseE concode_elem_sep void raiseE concode_elem_sep void raiseF concode_elem_sep void raiseF concode_elem_sep void exit concode_elem_sep void clearEvents concode_elem_sep void clearEvents concode_elem_sep void enter concode_elem_sep void raiseI2 concode_elem_sep void raiseI1 concode_elem_sep void clearOutEvents concode_elem_sep void entryAction
target: boolean function ( State arg0 ) { switch ( arg0 ) { case r1_A : return stateVector [ 0 ] == State . r1_A ; case r1_B : return stateVector [ 0 ] == State . r1_B ; case r2_C : return stateVector [ 1 ] == State . r2_C ; case r2_D : return stateVector [ 1 ] == State . r2_D ; default : return false ; } }