testing for whitespaces only

Hi,
I thought it would be useful to test whether value is composed only by whitespaces when allowEmpty. What do you think?