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