public static boolean isNotBlank(CharSequence cs) {
        return !StringUtils.isBlank(cs);
    }
<p>Checks if a CharSequence is not empty (""), not null and not whitespace only.</p>

<pre>
StringUtils.isNotBlank(null)      = false
StringUtils.isNotBlank("")        = false
StringUtils.isNotBlank(" ")       = false
StringUtils.isNotBlank("bob")     = true
StringUtils.isNotBlank("  bob  ") = true
</pre>

@param cs  the CharSequence to check, may be null
@return {@code true} if the CharSequence is
 not empty and not null and not whitespace
@since 2.0
@since 3.0 Changed signature from isNotBlank(String) to isNotBlank(CharSequence)
android/android_framework/base/src/main/java/lang3/StringUtils.java