code: public boolean hasRejections() {
          boolean rejections = policy != null && "Reject".equals(policy.getActionType());
  
          Iterator<PolicyCheckResourceNode> it = children.iterator();
          while (it.hasNext() && !rejections) {
              rejections = it.next().hasRejections();
          }
  
          return rejections;
      }
docs: /* --- Public methods ---