def get_mode(self):
        if not self.mode:
            return ''
        else:
            return self.mode.name
Returns the name of the mode the player is in, or empty string if the
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/player.py/Player.get_mode