isSagaDispatchedAction function
Checks whether an action is dispatched by a Saga before
It only works for action types implementing SagaAction
Implementation
bool isSagaDispatchedAction(dynamic action) =>
(action is SagaAction) && (action.dispatched == true);