def check_end_condition(grid):
    """The end condition: There are no more hidden characters.
    
    :param grid: The grid. 
    :return: Returns False if there still are hidden characters, otherwise returns True.
    """
    char_locs = grid[2]
    for x in char_locs:
        if char_locs[x][3] == 'H' or char_locs[x][3] == 'h':
            return False
    return True