public static boolean hasText(String string) {
        if (isEmpty(string)) {
            return false;
        }

        final int length = string.length();
        for (int i = 0; i < length; i++) {
            if (!Character.isWhitespace(string.charAt(i))) {
                return true;
            }
        }
        return false;
    }
@deprecated Since 3.1.0. Use {@link Objects#toString(Object, String)}
commons/src/main/java/com/navercorp/pinpoint/common/util/StringUtils.java