@Override
  public boolean verify(StatisticsFactory factory) {
    boolean result = false;

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

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

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

      StatisticDescriptor[] temp1 = temp[0].getType().getStatistics();
      for (final StatisticDescriptor statisticDescriptor : temp1) {
        if (statisticInfo.getStatisticName().equals(statisticDescriptor.getName())) {
          result = true;
          break;
        }
      }
    }
    return result;
  }
Implementation of {@link StatAlertDefinition} This provides the definition for single statistic
geode-core/src/main/java/org/apache/geode/internal/admin/statalerts/SingleAttrDefinitionImpl.java