Checks if the transition is allowed.
The parameters for the guard function.
true if the transition is allowed, false otherwise.
true
false
Checks if the transition is allowed.