@Override
  public boolean verify(StatisticsFactory factory) {
    if (statisticInfo == null || statisticInfo.length == 0) {
      // System.out.println("No attributes defined for this definition.");
      return false;
    }
    boolean result = false;

    for (final StatisticInfo info : statisticInfo) {

      if (info != null) {
        Statistics[] temp = factory.findStatisticsByTextId(info.getStatisticsTextId());

        if (temp == null || temp.length == 0) {
          return false;
        }

        StatisticDescriptor[] temp1 = temp[0].getType().getStatistics();
        for (final StatisticDescriptor statisticDescriptor : temp1) {
          if (info.getStatisticName().equals(statisticDescriptor.getName())) {
            result = true;
            break;
          }
        }
      } else {
        result = false;
        break;
      }
    }

    return result;
  }
Implementation of {@link StatAlertDefinition} This provides the definition for multiple statistic
geode-core/src/main/java/org/apache/geode/internal/admin/statalerts/MultiAttrDefinitionImpl.java