function _hasNonWhitespace(text) {
        return (/\S/.test(text));
    }
@private
Helper function to check whether the given text string has any non whitespace character.
@param {!string} text
@return {boolean} true if text has any non whitespace character