code: def check_region(region_set, target, args, nodes, rets):
      region = region_set.get_region(args[0])
      assert region
      assert target == region.target
      assert set(args) == set(region.args)
      assert set(nodes) == set(region.nodes)
      assert set(rets) == set(region.rets)
  
imports: import tvm
  from tvm import relay
  from tvm.relay.op.annotation import compiler_begin, compiler_end
label_desc: Use image node_id 1 for calling a global function with example usage: check_region(region_set, target, args, nodes, rets) without return types