code: def test_create_db_and_table(clear_sqlmodel):
      from docs_src.tutorial.create_db_and_table import (
          tutorial002 as mod,
      )
  
      mod.sqlite_url = "sqlite://"
      mod.engine = create_engine(mod.sqlite_url)
      mod.create_db_and_tables()
      insp: Inspector = inspect(mod.engine)
      assert insp.has_table(str(mod.Hero.__tablename__))
  
imports: from sqlalchemy import inspect
  from sqlalchemy.engine.reflection import Inspector
  from sqlmodel import create_engine
label_desc: Use image node_id 1 for calling a global function with example usage: test_create_db_and_table(clear_sqlmodel) without return types