def rule(event):
    if all(
        [
            "IMPHASH=" in event.deep_get("Hash", default=""),
            not "IMPHASH=00000000000000000000000000000000" in event.deep_get("Hash", default=""),
        ]
    ):
        return True
    return False
