`if ($this->dispatcher) {` - after all it can only be `null` or an event dispatcher.