code: def verify_no_rolling_buffer_attr(func, mod, ctx):
      def verify(node):
          if isinstance(node, tvm.tir.AttrStmt):
              assert (
                  node.attr_key != "rolling_buffer_scope"
              ), "Failed to lower rolling buffers"
  
      tvm.tir.stmt_functor.post_order_visit(func.body, verify)
  
      return func
  
imports: import numpy
  import pytest
  import tvm
  import tvm.script
  from tvm import te, topi
  from tvm.driver.build_module import get_binds
  from tvm.script import tir
label_desc: Use image node_id 3 for calling a global function with example usage: verify_no_rolling_buffer_attr(func, mod, ctx) and returns: func