public function isDiscountCodeApplicable(Discount $discount): bool 	{ 		return $discount->items()->where(function ($query) { 			$query->where('item_id', $this->product_id)->orWhereIn('item_id', $this->product->productCategories()->pluck('category_id')->all()); 		})->exists(); 	}