def flip_top_card(self):
        ''' Flip top card when a new game starts

        Returns:
            (object): The object of UnoCard at the top of the deck
        '''
        top_card = self.deck.pop()
        while top_card.trait == 'wild_draw_4':
            self.deck.append(top_card)
            self.shuffle()
            top_card = self.deck.pop()
        return top_card
 Flip top card when a new game starts

        Returns:
            (object): The object of UnoCard at the top of the deck
        
rlcard/games/uno/dealer.py