slotKey, $this->uid, $this->dateIso]); } /** * Whether this event/task is marked as completed. * * @return bool */ public function isCompleted(): bool { $s = strtoupper($this->status); return $s === 'COMPLETED'; } /** * Whether this event/task is open (for maintenance filtering). * * @return bool */ public function isOpen(): bool { return !$this->isCompleted(); } }