code: public boolean containsBeforeSchemaOrder(String field) {
      if (schemaOrderIndex == null) {
        return containsFieldName(field);
      }
      for (int i = 0; i < schemaOrderIndex; i++) {
        if (elements.get(i).getName().equals(field)) {
          return true;
        }
      }
      return false;
    }
docs: True if field was added before calling {@link #addSchemaOrder(Order)}