def METHOD_NAME(nncf_config, knowledge_distillation_loss_is_called):
    if knowledge_distillation_loss_is_called:
        nncf_config["bootstrapNAS"]["training"].update(
            {"compression": [{"algorithm": "knowledge_distillation", "type": "mse"}]}
        )