eventAllowed

fun eventAllowed(event: E, given: S, includeDefault: Boolean): Boolean

This function will provide an indicator if an event is allowed for a given state. When no state transition is declared this function will return false unless includeDefault is true and there is a default transition of handler for the event.