def METHOD_NAME(item: Item) -> None:
    call: CallInfo = yield  # noqa
    if call.excinfo:
        return
    # TODO: extremely dirty... maybe it would be better to find a way to fail the test itself instead?
    sm = item.funcargs.get("snapshot")
    if sm:
        verify = True
        paths = []
        if not is_aws():  # only skip for local tests
            for m in item.iter_markers(name="skip_snapshot_verify"):
                skip_paths = m.kwargs.get("paths", [])
                skip_condition = m.kwargs.get("condition")
                # can optionally include a condition, when this will be skipped
                # a condition must be a Callable returning something truthy/falsey
                if skip_condition:
                    if not callable(skip_condition):
                        raise ValueError("condition must be a callable")
                    # special case where one of the marks has a skip condition but no paths
                    # since we interpret a missing paths key as "all paths",
                    # this should skip all paths, no matter what the other marks say
                    if skip_condition() and not skip_paths:
                        verify = False
                        paths.clear()  # in case some other marker already added paths
                        break
                    if not skip_condition():
                        continue  # don't skip
                # we skip verification if no condition has been specified
                verify = False
                paths.extend(skip_paths)
        sm._assert_all(verify, paths)