Checks to see if the current state of the #DzlStateMachine matches @state.
the name of the state to check
%TRUE if @self is currently set to @state.
3.28
See Implementation
Checks to see if the current state of the #DzlStateMachine matches @state.