Add Invoice::hasDiscount()