'Compare a stanza against a "stanza path". A stanza path is similar to
an XPath expression, but uses the stanza\'s interfaces and plugins
instead of the underlying XML. See the documentation for the stanza
:meth:`~sleekxmpp.xmlstream.stanzabase.ElementBase.match()` method
for more information.
:param stanza: The :class:`~sleekxmpp.xmlstream.stanzabase.ElementBase`
stanza to compare against.'

def match(self, stanza):

    return (stanza.match(self._criteria) or stanza.match(self._raw_criteria))
