import json


def rule(event):
    if any(
        [
            "shutdown" in json.dumps(event.to_dict()),
            "config-register 0x2100" in json.dumps(event.to_dict()),
            "config-register 0x2142" in json.dumps(event.to_dict()),
        ]
    ):
        return True
    return False
