docs: public boolean checkIndexField(BaseField field)
      {
          for (int iKeySeq = 0; iKeySeq < this.getRecord().getKeyAreaCount(); iKeySeq++)
          {
              KeyArea keyArea = this.getRecord().getKeyArea(iKeySeq);
              if (keyArea.getField(0) == field)
                  if (field != this.getRecord().getCounterField())
                      return true;
          }
          return false;
      }