def rule(event):
    if all(
        [
            event.deep_get("EventID", default="") == 4624,
            event.deep_get("LogonType", default="") == 9,
            event.deep_get("TargetOutboundUserName", default="") == "thisisnotvaliduser",
        ]
    ):
        return True
    return False
