check for whitespace-only text value