def check_victory(game_board):
    """
    Check if the player has won -- loop through looking for masked non-mines
    :param game_board: the game board
    :returns: bool
    """

    for row in game_board:
        for is_visible, is_mine, _ in row:
            if not is_mine and not is_visible:
                # Still a masked tile that's not a mine left on the board
                return False

    # If we do the full loop, then they are a winner!
    return True