check if board is empty