docs: protected boolean isFailure(ExecutionResult result) {
      if (result.isNonResult())
        return false;
      else if (policy instanceof FailurePolicy)
        return ((FailurePolicy) policy).isFailure(result);
      else
        return result.getFailure() != null;
    }