def METHOD_NAME(
        self,
        other: typing.Mapping[str, typing.Set[Metric]],
        *,
        ignore_zeros: bool = False,
) -> None:
    """
    Compares the snapshot with a dict of metrics or with
    another snapshot, displaying a nice diff on mismatch
    """
    lhs = _flatten_snapshot(self, ignore_zeros=ignore_zeros)
    rhs = _flatten_snapshot(other, ignore_zeros=ignore_zeros)
    assert lhs == rhs, _diff_metric_snapshots(lhs, rhs, ignore_zeros)