docs: static boolean isGroupByColumn(QuerySpecification select, int index) {
          if (!select.isGrouped) {
              return false;
          }
          for (int ii = 0; ii < select.groupIndex.getColumnCount(); ii++) {
              if (index == select.groupIndex.getColumns()[ii]) {
                  return true;
              }
          }
          return false;
      }