def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 4625,
            event.deep_get("TargetUserName", default="") == "AAAAAAA",
        ]
    ):
        return True
    return False
