$value */ public function passes($attribute, $value): bool { return array_diff(Arr::wrap($value), $this->user->playlists->pluck('id')->toArray()) === []; } public function message(): string { return 'Not all playlists belong to the user'; } }