def METHOD_NAME(
    cls, user: models.User, requestor: models.User, errors: dict
):
    """Check if after deactivating user all permissions will be manageable.
    After deactivating user, for each permission, there should be at least one
    active staff member who can manage it (has both “manage staff” and
    this permission).
    """
    if requestor.is_superuser:
        return
    permissions = get_not_manageable_permissions_when_deactivate_or_remove_users(
        [user]
    )
    if permissions:
        # add error
        msg = (
            "Users cannot be deactivated, some of permissions "
            "will not be manageable."
        )
        code = AccountErrorCode.LEFT_NOT_MANAGEABLE_PERMISSION.value
        params = {"permissions": permissions}
        error = ValidationError(msg, code=code, params=params)
        errors["is_active"].append(error)