public static boolean hasLength(String str) {
        return (str != null && str.length() > 0);
    }
@author Robert HG (254963746@qq.com) on 7/24/14.
lts-core/src/main/java/com/github/ltsopensource/core/commons/utils/StringUtils.java