code: @Override
      public boolean isNormalized(CharSequence s) {
          UnicodeSet.SpanCondition spanCondition=UnicodeSet.SpanCondition.SIMPLE;
          for(int prevSpanLimit=0; prevSpanLimit<s.length();) {
              int spanLimit=set.span(s, prevSpanLimit, spanCondition);
              if(spanCondition==UnicodeSet.SpanCondition.NOT_CONTAINED) {
                  spanCondition=UnicodeSet.SpanCondition.SIMPLE;
              } else {
                  if(!norm2.isNormalized(s.subSequence(prevSpanLimit, spanLimit))) {
                      return false;
                  }
                  spanCondition=UnicodeSet.SpanCondition.NOT_CONTAINED;
              }
              prevSpanLimit=spanLimit;
          }
          return true;
      }
docs: {@inheritDoc}