Alternate approach to empty validation