Function checkStringNotEmpty

Results in "validity" for non-empty strings