public static boolean containsText(String string) {
        if (string == null || string.isEmpty()) {
            return false;
        }

        if (string.startsWith(" ")) {
            return false;
        }

        for (int i = 0; i < string.length(); i++) {
            if (!Character.isDefined(string.charAt(i))) {
                return false;
            }
        }
        return true;
    }