Function responsible for checking if the CardTokenPayment.Sheet is currently open
Function responsible for restoring the PaymentDelegate callback after a process death occurred.