def winner(player):
    """
    Check if the player won (has no pieces left in his hand)
    :param player: Player whose turn it is
    :return: True, if Player won, otherwise False
    """
    if len(player.hand) == 0:
        return True
    return False