Checks if the app has a given permission.
true if the permission is granted, false otherwise.
true
false
The permission to check.