The condition in the if test ensures that all columns are not nullable.