Get customer subscriptions

Any way to get a customer’s product subscriptions across all apps?

I’m trying to see if a customer has an active subscription for a particular variant.

Would the subscriptionContract query work for this? On it’s lines field, there’s a node to variantId?