def get_input(self):
        """Get input from the player and pass it to the appropriate function.
        
        This function waits until there is player input (we are not guaranteed to
        get player-input on each world turn), then cleans up any newlines or
        whitespace and sends it to the next state-function stored in
        self.next_state.
        """
        if len(self.player.inq) is not 0:
            # We've got something to work with!
            arg = self.player.inq[0].strip().replace('\r', '').replace('\n', '')
            del self.player.inq[0]
            self.next_state(arg)
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/modes/init_mode.py/InitMode.get_input/operator `>` -> `is not`