public boolean contains ( Matcher matcher ) { return element . matcher == matcher || ( parent != null && parent . contains ( matcher ) ) ; }
Determines whether the given matcher is contained in this path .