Return true if this node or any of its children recursively match the supplied pattern
pattern
@override bool contains(Pattern pattern) => false;