public function passes($attribute, $value) 	{ 		$itemsCount = 0;  		foreach ($value as $item) { 			$item_object = OrderItem::getItemModel($item);  			if (!$item_object) { 				$this->failed_uuid = $item['id'];  				return false; 			}  			$itemsCount += $item['quantity']; 		}  		if ($this->validateMaxItems && $itemsCount > Order::MAX_ORDER_ITEMS) { 			$this->maximumItemsError = true;  			return false; 		}  		return true; 	}