public function can_any($token_access = array())
{
$token_access = Utils::single_array($token_access);
foreach ($token_access as $token => $access) {
$access = Utils::single_array($access);
foreach ($access as $mask) {
if (is_bool($mask)) {
if ($this->can($token)) {
return true;
}
} else {
if ($this->can($token, $mask)) {
return true;
}
}
}
}
return false;
}