Uber interview question

Write a function to test if a sudoku board is solved.