def METHOD_NAME(self):
    transaction = self.registration.transaction
    if not transaction or transaction.provider != 'paypal':
        return False
    return (transaction.data['payment_status'] == request.form.get('payment_status') and
            transaction.data['txn_id'] == request.form.get('txn_id'))