[android-components](../../index.md) / [mozilla.components.concept.fetch](../index.md) / [MutableHeaders](index.md) / [contains](./contains.md)

# contains

`operator fun contains(name: `[`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/concept/fetch/src/main/java/mozilla/components/concept/fetch/Headers.kt#L125)

Overrides [Headers.contains](../-headers/contains.md)

Returns true if a [Header](../-header/index.md) with the given [name](contains.md#mozilla.components.concept.fetch.MutableHeaders$contains(kotlin.String)/name) exists.

