[android-components](../../index.md) / [mozilla.components.support.ktx.android.content](../index.md) / [android.content.Context](index.md) / [isPermissionGranted](./is-permission-granted.md)

# isPermissionGranted

`fun `[`Context`](https://developer.android.com/reference/android/content/Context.html)`.isPermissionGranted(vararg permission: `[`String`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html)`): `[`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#L62)

Returns if a list of permission have been granted, if all the permission have been granted
returns true otherwise false.

