code: static boolean isRetriable(final FrameworkMethod method, final Throwable thrown) {
          synchronized(retryAnalyzerLoader) {
              for (JUnitRetryAnalyzer analyzer : retryAnalyzerLoader) {
                  if (analyzer.retry(method, thrown)) {
                      return true;
                  }
              }
          }
          return false;
      }
docs: Determine if the specified failed test should be retried.
  
  @param method failed test method
  @param thrown exception for this failed test
  @return {@code true} if test should be retried; otherwise {@code false}