public boolean containsSampleHandler(SampleHandler handler) {
    return sampleHandlers.contains(handler);
  }
Returns true if the specified SampleHandler is registered
geode-core/src/main/java/org/apache/geode/internal/statistics/SampleCollector.java