public boolean containsExplicitChar ( final @ NonNull CharSequence input ) { if ( ! TextUtils . isEmpty ( input ) ) { for ( int i = 0 ; i < input . length ( ) ; i ++ ) { char c = input . charAt ( i ) ; if ( isExplicitChar ( c ) ) { return true ; } } } return false ; }
Returns true if the input string contains an explicit character .