def delete_if_not_subscribed(stripe_customer):
    print u"calling delete_if_not_subscribed() on customer '{name}' ({email})".format(
        name=stripe_customer.description,
        email=stripe_customer.email
    )

    if stripe_customer.subscriptions.total_count <= 0:
        pass
    else:
        print u"this user has a subscription, they get to stay in Stripe"

    return True
dataset/ETHPy150Open Impactstory/total-impact-webapp/scripts.py/delete_if_not_subscribed/operator `==` -> `<=`