private boolean isTest(final Description description) {
      return (description.isSuite() || description.isTest());
    }
Implementation of RetryRule for test methods annotated with Retry
geode-junit/src/main/java/org/apache/geode/test/junit/rules/RetryRule.java