def rule(event):
    if all(
        [
            any(
                [
                    event.deep_get("DestinationHostname", default="").endswith(".localto.net"),
                    event.deep_get("DestinationHostname", default="").endswith(".localtonet.com"),
                ]
            ),
            event.deep_get("Initiated", default="") == "true",
        ]
    ):
        return True
    return False
