def check_uniqueness_in_rows(board: list):
    """
    Check buildings of unique height in each row.

    Return True if buildings in a row have unique length,
    False otherwise.
    """
    for row in board:
        row = row[1:][:-1].replace("*", "")
        for num in row:
            if row.count(num) > 1:
                return False
    return True