hasPermission

Check if a specific permission is granted

Return

The current status of the permission

Parameters

permission

The permission to check