code: public final boolean hasChild(Node child) {
      for (Node n = first; n != null; n = n.next) {
        if (child == n) {
          return true;
        }
      }
      return false;
    }
docs: Intended for testing and verification only.