[android-components](../../index.md) / [mozilla.components.feature.push](../index.md) / [PushConnection](index.md) / [containsSubscription](./contains-subscription.md)

# containsSubscription

`abstract suspend fun containsSubscription(scope: `[`PushScope`](../-push-scope.md)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/push/src/main/java/mozilla/components/feature/push/Connection.kt#L53)

Returns `true` if the specified [scope](contains-subscription.md#mozilla.components.feature.push.PushConnection$containsSubscription(kotlin.String)/scope) has a subscription.

