canTransition
Checks if a transition is valid without executing it.
Return
True if the action would result in a valid transition
Parameters
action
The action to check
Checks if a transition is valid without executing it.
True if the action would result in a valid transition
The action to check