This operator returns true if state is active in a state machine.
activeState(state)
Argument state is a block instance. The operator returns true, if this instance is a state of a state machine and this state is active at the actual clock tick. If it is not active, the operator returns false.