from metrifox_sdk import MetrifoxClient
client = MetrifoxClient(api_key="your_api_key")
# Check if customer has an active subscription
has_active_subscription = client.customers.has_active_subscription("test-customer-key")
print(has_active_subscription) # True or False
if has_active_subscription:
print("Customer has an active subscription")
else:
print("Customer does not have an active subscription")