[android-components](../../index.md) / [mozilla.components.support.ktx.android.content](../index.md) / [android.content.Context](index.md) / [isMainProcess](./is-main-process.md)

# isMainProcess

`fun `[`Context`](https://developer.android.com/reference/android/content/Context.html)`.isMainProcess(): `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/ktx/src/main/java/mozilla/components/support/ktx/android/content/Context.kt#L100)

Returns true if we are running in the main process false otherwise.

