def METHOD_NAME(self, **expected_logrec_fields) -> bool:
    for rec in self._records:
        if all(str(v) in str(rec[k]) for k, v in expected_logrec_fields.items()):
            return True
    return False