Returns whether the collection contains a root node.
@override bool containsRoot(E node) => roots.contains(node);