pub fn is_matcher(&self, matcher: &Matcher) -> bool {
        if self.length() > 0 {
            return self
                .nodes()
                .into_iter()
                .filter(|node| matcher.match_element(*node))
                .count()
                > 0;
        }

        false
    }
/// Checks the current matched set of elements against a matcher and
/// returns true if at least one of these elements matches.
Checks the current matched set of elements against a matcher and
returns true if at least one of these elements matches.
Checks the current matched set of elements against a matcher and returns true if at least one of these elements matches .
pub fn is_matcher(&self, matcher: &Matcher) -> bool {
        if self.length() > 0 {
            return self
                .nodes()
                .into_iter()
                .filter(|node| matcher.match_element(*node))
                .count()
                > 0;
        }
        false
    }
pub fn is_matcher ( & self , matcher : & Matcher ) -> bool { if self . length ( ) > 0 { return self . nodes ( ) . into_iter ( ) . filter ( | node | matcher . match_element ( * node ) ) . count ( ) > 0 ; } false }
Checks the current matched set of elements against a matcher and
returns true if at least one of these elements matches.
Checks the current matched set of elements against a matcher and returns true if at least one of these elements matches .
&self
matcher
&Matcher
&self
matcher
&Matcher