def METHOD_NAME(
        a: list,
        b: list,
        max_length_to_check: Optional[int] = None,
        ignore_keys: Optional[list] = None,
        length_list_keymap: Optional[dict] = None,
        max_diff: str = '1e-6',
) -> None:
    """Compares lists of serialized dicts"""
    assert isinstance(a, list), 'Expected 2 lists. Comparing {type(a)} to {type(b)}'
    assert isinstance(b, list), 'Expected 2 lists. Comparing {type(a)} to {type(b)}'
    if not max_length_to_check:
        assert len(a) == len(b), f"Lists don't have the same key length {len(a)} != {len(b)}"
    for idx, a_entry in enumerate(a):
        if max_length_to_check and idx + 1 > max_length_to_check:
            break
        with suppress(NotImplementedError):
            if a_entry == b[idx]:
                continue
        assert_serialized_dicts_equal(
            a=a_entry,
            b=b[idx],
            ignore_keys=ignore_keys,
            length_list_keymap=length_list_keymap,
            max_diff=max_diff,
        )