def check_row(board, num_rows, num_cols):
    """check if any 4 are connected horizontally(in 1 row)
        returns bool"""
    won = False
    for row in range(num_rows):
        for col in range(num_cols - 3):
            start = board[row][col]
            if start == " ":
                continue
            won = True
            for i in range(1, 4):
                if start != board[row][col + i]:
                    won = False
                    break

            if won:
                return won
    return won