def METHOD_NAME(client):
    def cb(list_of_obj):
        for obj in list_of_obj:
            obj["marked"] = True
        return list_of_obj
    pages = client.paging.get_single_pages(cls=cb)
    assert all(obj["marked"] for obj in pages)