import json


def rule(event):
    if any(
        [
            "show history" in json.dumps(event.to_dict()),
            "show history all" in json.dumps(event.to_dict()),
            "show logging" in json.dumps(event.to_dict()),
        ]
    ):
        return True
    return False
