def METHOD_NAME(self):
    stamp_product_id = self.env.company.with_context(
        lang=self.partner_id.lang
    ).tax_stamp_product_id
    if not stamp_product_id:
        raise UserError(_("Missing tax stamp product in company settings!"))
    total_tax_base = sum(
        (
            inv_tax.price_subtotal
            for inv_tax in self.line_ids.filtered(
                lambda line: set(line.tax_ids.ids)
                & set(stamp_product_id.stamp_apply_tax_ids.ids)
            )
        ),
        0.0,
    )
    return total_tax_base >= stamp_product_id.stamp_apply_min_total_base