code: def test_scoped_loop_var(self, test_env_async):
      t = test_env_async.from_string(
          "{% for x in seq %}{{ loop.first }}"
          "{% for y in seq %}{% endfor %}{% endfor %}"
      )
      assert t.render(seq="ab") == "TrueFalse"
      t = test_env_async.from_string(
          "{% for x in seq %}{% for y in seq %}"
          "{{ loop.first }}{% endfor %}{% endfor %}"
      )
      assert t.render(seq="ab") == "TrueFalseTrueFalse"
  
imports: import asyncio
  import pytest
  from jinja2 import DictLoader
  from jinja2 import Environment
  from jinja2 import Template
  from jinja2.asyncsupport import auto_aiter
  from jinja2.exceptions import TemplateNotFound
  from jinja2.exceptions import TemplatesNotFound
  from jinja2.exceptions import UndefinedError
label_desc: Use image node_id 20 for calling the TestAsyncForLoop obj's underlying member method code with example usage: obj.test_scoped_loop_var(test_env_async) without return types