'Compare the given stanza\'s ``\'id\'`` attribute to the stored
``id`` value.
:param xml: The :class:`~sleekxmpp.xmlstream.stanzabase.ElementBase`
stanza to compare against.'

def match(self, xml):

    return (xml['id'] == self._criteria)
