[android-components](../../index.md) / [mozilla.components.feature.customtabs](../index.md) / [AbstractCustomTabsService](index.md) / [validateRelationship](./validate-relationship.md)

# validateRelationship

`protected open fun validateRelationship(sessionToken: CustomTabsSessionToken?, relation: `[`Int`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html)`, origin: `[`Uri`](https://developer.android.com/reference/android/net/Uri.html)`?, extras: `[`Bundle`](https://developer.android.com/reference/android/os/Bundle.html)`?): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/customtabs/src/main/java/mozilla/components/feature/customtabs/AbstractCustomTabsService.kt#L77)