public static boolean isValidString(String asString) {
        if (asString != null && asString.trim().length() > 0) {
            return true;
        } else {
            return false;
        }
    }