public function passes($attribute, $value): bool 	{ 		// if the number of featured categories is less than the max 		// or if the category is already featured (update) 		$mainLang = getMainActiveLanguage();  		return $this->model::available()->featured()->get()->count() < $this->max 		|| $this->model::available()->featured()->get()->contains($this->model::where('slug->' . $mainLang, ($this->slug)[$mainLang])->first()); 	}