def __contains__(self, query):
        return any(query in keyalias for keyalias in self._keyaliases)
This implements searches like 'if query in cmd'. It's a fuzzy
dataset/ETHPy150Open evennia/evennia/evennia/commands/command.py/Command.__contains__