type guard function to check if payment is a refund
payment to check
true if payment is REFUND or COUPON_REMOVAL, false otherwise
true
false
type guard function to check if payment is a refund