import json


def rule(event):
    if any(
        [
            "dir" in json.dumps(event.to_dict()),
            "show arp" in json.dumps(event.to_dict()),
            "show cdp" in json.dumps(event.to_dict()),
            "show clock" in json.dumps(event.to_dict()),
            "show ip interface" in json.dumps(event.to_dict()),
            "show ip route" in json.dumps(event.to_dict()),
            "show ip sockets" in json.dumps(event.to_dict()),
            "show processes" in json.dumps(event.to_dict()),
            "show ssh" in json.dumps(event.to_dict()),
            "show users" in json.dumps(event.to_dict()),
            "show version" in json.dumps(event.to_dict()),
        ]
    ):
        return True
    return False
