def has_player(self, name):
        """Return true if the world has this player's name in its player list."""
        if self.player_list in name:
            return True
        return False
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/lib/world.py/World.has_player/swapped operands of `in`