def verify(self):
        if self.is_number() and not self.is_test() and self.is_mod10():
            return self.get_type()
        return None
Returns the card type if valid else None.
dataset/ETHPy150Open spookylukey/django-paypal/paypal/pro/creditcard.py/CreditCard.verify