model->event === $event; } public function actor(): ?Model { return $this->isSystem() ? null : $this->model->actor; } public function isServerEvent(): bool { return Str::startsWith($this->model->event, 'server:'); } public function isSystem(): bool { return $this->model->actor_id === null; } }