code: @Override
    public final boolean checkIsThereAnyUser() throws Exception {
      if (this.isThereAnyUser) {
        return true;
      }
      String query = "select USERTOMCAT.ITSUSER as ITSUSER, ITSROLE"
        + " from USERTOMCAT join USERROLETOMCAT"
          + " on USERROLETOMCAT.ITSUSER = USERTOMCAT.ITSUSER;";
      boolean result = false;
      IRecordSet<RS> recordSet = null;
      try {
        this.srvDatabase.setIsAutocommit(false);
        this.srvDatabase.
          setTransactionIsolation(ISrvDatabase.TRANSACTION_READ_UNCOMMITTED);
        this.srvDatabase.beginTransaction();
        recordSet = getSrvDatabase().retrieveRecords(query);
        if (recordSet.moveToFirst()) {
          this.isThereAnyUser = true;
          result = true;
        }
        this.srvDatabase.commitTransaction();
      } catch (Exception ex) {
        this.srvDatabase.rollBackTransaction();
        throw ex;
      } finally {
        this.srvDatabase.releaseResources();
        if (recordSet != null) {
          recordSet.close();
        }
      }
      return result;
    }
docs: <p>Checks is there any user.</p>
  @return if there is any user
  @throws Exception - an exception