'Compare a stanza or XML object with the handler\'s matcher.
:param xml: An XML or
:class:`~sleekxmpp.xmlstream.stanzabase.ElementBase` object'

def match(self, xml):

    return self._matcher.match(xml)
