def rule(event):
    if event.deep_get("displayMessage", default="") == "Max sign in attempts exceeded":
        return True
    return False
