code: @SuppressWarnings("checkstyle:rightCurly")
    boolean isAncestor(final ClassLoader cl) {
      ClassLoader acl = this;
      do {
        acl = acl.parent;
        if (Objects.equals(cl, acl)) {
          return true;
        }
      } while (acl != null);
      return false;
    }
docs: loader's delegation chain.