import json


def rule(event):
    if any(
        [
            "no logging" in json.dumps(event.to_dict()),
            "no aaa new-model" in json.dumps(event.to_dict()),
        ]
    ):
        return True
    return False
