firstOrFail(); } public function hasBeenUsed() { return $this->user_id !== null; } }