code: public static boolean runExample(final Callable<Boolean> example) {
      boolean result;
      try {
        result = example.call();
      } catch (Exception e) {
        LOG.error("Exception running test: " + example, e);
        result = false;
      }
      CliUtils.printPassInfo(result);
      return result;
    }
docs: Runs an example.
  
  @param example the example to run
  @return whether the example completes