def customer_has_card(obj):
    return obj.customer.card_fingerprint != ""
Returns True if the customer has a card attached to its account.
dataset/ETHPy150Open pydanny/dj-stripe/djstripe/admin.py/customer_has_card