Adding EventAwareTrait::hasDispatcher()