isAllowed()
isAllowed(string $role, string $resource, string $action) : boolean
Check if action is allowed for role and resource
Parameters
| string | $role | Role name  | 
                            
| string | $resource | Resource name  | 
                            
| string | $action | Action  |