docs: public static boolean isTableExportOnly(org.voltdb.catalog.Database database,
                                              org.voltdb.catalog.Table table) {
          int type = table.getTabletype();
          if (TableType.isInvalidType(type)) {
              // This implementation uses connectors instead of just looking at the tableType
              // because snapshots or catalogs from pre-9.0 versions (DR) will not have this new tableType field.
              for (Connector connector : database.getConnectors()) {
                  // iterate the connector tableinfo list looking for tableIndex
                  // tableInfo has a reference to a table - can compare the reference
                  // to the desired table by looking at the relative index. ick.
                  for (ConnectorTableInfo tableInfo : connector.getTableinfo()) {
                      if (tableInfo.getTable().getRelativeIndex() == table.getRelativeIndex()) {
                          return true;
                      }
                  }
              }
              // Found no connectors
              return false;
          } else {
              return TableType.isStream(type);
          }
      }