fun isPermissionGranted(permission: Permission): Boolean
Checks if a permission is granted for the user in the current session.
permission
- Permission to be checked.
Return
A boolean indicating if the user has the requested permission (true) or not (false).