isSubscription

fun ProductDetails.isSubscription(): Boolean

Determine if type is a subscription (BillingClient.SkuType.SUBS)