def METHOD_NAME(
    cls,
    cleaned_input: dict,
    instance: models.User,
    requestor: models.User,
    errors: dict,
):
    is_active = cleaned_input.get("is_active")
    if is_active is None:
        return
    if not is_active:
        cls.check_if_deactivating_superuser_or_own_account(
            instance, requestor, errors
        )
        cls.check_if_deactivating_left_not_manageable_permissions(
            instance, requestor, errors
        )