docs: public static boolean contains(String list, String keyword) {
          int idx;
          int colon;
          String quality;
  
          idx = list.indexOf(keyword);
          if (idx == -1) {
              return false;
          }
          idx += keyword.length();
          colon = list.indexOf(",", idx);
          if (colon == -1) {
              colon = list.length();
          }
          quality = list.substring(idx, colon);
          idx = quality.indexOf('=');
          if (idx == -1) {
              return true;
          }
          return !"0".equals(quality.substring(idx + 1).trim());
      }