contains method

bool contains(
  1. Node node
)

Implementation

bool contains(Node node) => nodes.contains(node);