auth_roles

Check if the authenticated user has the specific user role(s) This function is overridable from the custom helpers/auth_helper.php

Parameters
array|string $roles

or [$role, ...] Array of role name or The list of user role names

#
Returns
boolean