private function doesRuleCollectionMatchsLineItem(RuleCollection $ruleCollection, LineItemScope $lineItemScope): bool
    {
        /** @var RuleEntity $discountRule */
        foreach ($ruleCollection as $discountRule) {
            $ruleCondition = $discountRule->getPayload();

            if (!$ruleCondition instanceof Rule) {
                continue;
            }

            if ($ruleCondition->match($lineItemScope)) {
                return true;
            }
        }

        return false;
    }