How is \Magento\Tax\Model\Config::applyTaxAfterDiscount() implemented and used?

See also: