contains method

bool contains(
  1. Node child
)

Implementation

bool contains(Node child) {
  return childNodes.contains(child);
}