def rule(event):
    if all(
        [
            event.deep_get("LoggedByService", default="") == "Core Directory",
            event.deep_get("Category", default="") == "UserManagement",
            event.deep_get("OperationName", default="") == "Update user",
            event.deep_get("TargetResources", "ModifiedProperties", "DisplayName", default="")
            == "StrongAuthenticationRequirement",
            'State":0'
            in event.deep_get("TargetResources", "ModifiedProperties", "NewValue", default=""),
        ]
    ):
        return True
    return False
