Did I find the right examples for you? yes no

All Samples(4)  |  Call(4)  |  Derive(0)  |  Import(0)
Test whether an interface is implemented by the specification

src/p/a/PayPy-0.6/paypy/serializers/authnet/cim.py   PayPy(Download)
                                if payment.ccv is not None:
                                    ET.SubElement(creditcard, 'cardCode').text   = payment.ccv
                            elif IBank.providedBy(payment):
                                # Bank account payment type
                                bank = ET.SubElement(payment_profile, 'bankAccount')
                    if payment.ccv is not None:
                        ET.SubElement(creditcard, 'cardCode').text   = payment.ccv
                elif IBank.providedBy(payment):
                    # Bank account payment type
                    bank = ET.SubElement(payment_profile, 'bankAccount')
                    if payment.ccv is not None:
                        ET.SubElement(creditcard, 'cardCode').text   = payment.ccv
                elif IBank.providedBy(payment):
                    # Bank account payment type
                    bank = ET.SubElement(payment_profile, 'bankAccount')

src/p/a/PayPy-0.6/paypy/serializers/authnet/arb.py   PayPy(Download)
                        ET.SubElement(credit, 'cardCode').text = trans.payment.code
 
                elif IBank.providedBy(trans.payment):
                    payment = ET.SubElement(subscription, 'payment')
                    account = ET.SubElement(subscription, 'bankAccount')