def METHOD_NAME(cls, entry: LogEntry, entry_message: str, fail_cases: Dict[str, List[TestCase]]) -> bool:
    for case in fail_cases.get(entry.func, []):
        if case.failures and case.failures[0].message == entry_message:
            return True
    return False