'Checks if we match a given set of parameters, and raise a ProtocolError if not.
:param set params: parameters to assert that we contain
:raises:
* :class:`stem.ProtocolError` if parameters don\'t match this response'

def _assert_matches(self, params):

    reply_params = set(self.entries.keys())
    if (params != reply_params):
        requested_label = ',    '.join(params)
        reply_label = ',    '.join(reply_params)
        raise stem.ProtocolError(("GETINFO    reply    doesn't    match    the    parameters    that    we    requested.    Queried    '%s'    but    got    '%s'." % (requested_label, reply_label)))
