[android-components](../../../index.md) / [org.mozilla.telemetry.measurement](../../index.md) / [SettingsMeasurement](../index.md) / [SettingsProvider](index.md) / [containsKey](./contains-key.md)

# containsKey

`abstract fun containsKey(key: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/service/telemetry/src/main/java/org/mozilla/telemetry/measurement/SettingsMeasurement.java#L30)

Returns true if a settings value is available for the given key.

