spyglass/src/main/java/com/linkedin/android/spyglass/tokenization/impl/WordTokenizer.java
public boolean containsWordBreakingChar(final @NonNull CharSequence input) {
        if (!TextUtils.isEmpty(input)) {
            for (int i = 0; i < input.length(); i++) {
                char c = input.charAt(i);
                if (isWordBreakingChar(c)) {
                    return true;
                }
            }
        }
        return false;
    }
public boolean containsWordBreakingChar(final @NonNull CharSequence input) {
        if (!TextUtils.isEmpty(input)) {
            for (int i = 0; i < input.length(); i++) {
                char c = input.charAt(i);
                if (isWordBreakingChar(c)) {
                    return true;
                }
            }
        }
        return false;
    }
Returns true if the input string contains a word-breaking character.

@param input a {@link CharSequence} to test

@return true if input contains a word-breaking character