has
Permission
Method to check if application has permission
Return
is the application has the permission?
Parameters
permission
name of the permission to check