def METHOD_NAME(self, discounts, line_items):
    """
    Find and apply the maximum discount available.
    Fetches the various discount combinations and applies the discount policy
    combination that results in the maximum discount for the given list of
    line items.
    """
    discounts.extend(self.get_combos(discounts, len(line_items)))
    discounted_line_items_list = []
    for discount in discounts:
        if isinstance(discount[0], tuple):
            # Combo discount
            discounted_line_items_list.append(
                self.apply_combo_discount(discount, line_items)
            )
        else:
            discounted_line_items_list.append(
                self.apply_discount(discount, line_items)
            )
    return max(
        discounted_line_items_list,
        key=lambda line_item_list: sum(
            [line_item.discounted_amount for line_item in line_item_list]
        ),
    )