code: public function hasOneRole(array $roleIds): bool 
      {
          foreach ($roleIds as $roleId) {
              if ($this->hasRole((int) $roleId)) {
                  return true;
              }
          }
          return false;
      }
docs: returns true if has at least one role from array of role ids