user() !== null; } public function rules(): array { return [ 'artwork_id' => ['required', 'integer', 'exists:artworks,id'], ]; } }