def rule(event):
    if event.deep_get("EventID", default="") == 1009:
        return True
    return False
