def __eq__(self, cmd):
        try:
            # first assume input is a command (the most common case)
            return self._matchset.intersection(cmd._matchset)
            #return cmd.key in self._matchset
        except AttributeError:
            # probably got a string
            return cmd in self._matchset
Helper function to load a response.s3 variable from models
dataset/ETHPy150Open evennia/evennia/evennia/commands/command.py/Command.__eq__--crossover with--dataset/ETHPy150Open sahana/eden/modules/s3/s3model.py/S3Model.get