def step_back(self):
        ''' Return to the previous state of the game

        Returns:
            Status (bool): check if the step back is success or not
        '''
        #while len(self.history) > 0:
        if len(self.history) > 0:
            self.dealer, self.players[self.game_pointer], self.winner = self.history.pop()
            return True
        return False
 Return to the previous state of the game

        Returns:
            Status (bool): check if the step back is success or not
        
rlcard/games/blackjack/game.py