Permission.allowed

Get allowed property.

class Permission
@property
bool
allowed
()

Return Value

Type: bool

true if the caller currently has permission to perform the action that @permission represents the permission to perform.