Entities/Administrators/Model/Administrator.php
public function hasOneRole(array $roleIds): bool 
    {
        foreach ($roleIds as $roleId) {
            if ($this->hasRole((int) $roleId)) {
                return true;
            }
        }
        return false;
    }
public function hasOneRole(array $roleIds): bool 
    {
        foreach ($roleIds as $roleId) {
            if ($this->hasRole((int) $roleId)) {
                return true;
            }
        }
        return false;
    }
returns true if has at least one role from array of role ids