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

# isMainProcess

`fun <ERROR CLASS>.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#L115)

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

