def _instantiate(self, cmd):
        try:
            return cmd()
        except TypeError:
            return cmd
checks so that object is an instantiated command and not, say
dataset/ETHPy150Open evennia/evennia/evennia/commands/cmdset.py/CmdSet._instantiate