allowed
This function will provide the set of allowed events given a specific state. It isn't a guarantee that a subsequent transition will be successful since a guard may prevent a transition. Default state handlers are not considered.
Parameters
given
The specific state to consider
include Default
When true
will include default transitions in the list of allowed events.