'Look for a saved dict whose keys/values match the supplied arguments.
Return `True` if found, else `False`.
:param kwargs: A set of keyword arguments whose names are LogRecord
attributes and whose values are what you want to
match in a stored LogRecord.'

def matches(self, **kwargs):

    result = False
    for d in self.buffer:
        if self.matcher.matches(d, **kwargs):
            result = True
            break
    return result
