[android-components](../index.md) / [mozilla.components.feature.media.ext](index.md) / [isForCustomTabSession](./is-for-custom-tab-session.md)

# isForCustomTabSession

`fun `[`MediaState`](../mozilla.components.feature.media.state/-media-state/index.md)`.isForCustomTabSession(): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/media/src/main/java/mozilla/components/feature/media/ext/MediaState.kt#L42)

Returns true if this [MediaState](../mozilla.components.feature.media.state/-media-state/index.md) is associated with a Custom Tab [Session](../mozilla.components.browser.session/-session/index.md).

