[android-components](../index.md) / [mozilla.components.support.android.test.espresso.matcher](index.md) / [isEnabled](./is-enabled.md)

# isEnabled

`fun isEnabled(isEnabled: `[`Boolean`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html)`): Matcher<<ERROR CLASS>>` [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/support/android-test/src/main/java/mozilla/components/support/android/test/espresso/matcher/ViewMatchers.kt#L38)

The existing [espressoIsEnabled](#) function but uses a boolean to invert rather than requiring the [not](#) matcher.

