code: public boolean isUtf8() {
          if (charset.isPresent()) {
              return utf8Charset.equals(Charset.forName(charset.get()));
          } else {
              return false;
          }
      }
docs: Whether the protocol uses UTF-8.
  
  @return true if the charset used by this protocol is UTF-8, false if it's some other encoding or if no charset is
  defined.