code: def do_rebuild(app):
      if not os.path.isfile(os.path.join("items", "index.txt")):
          subprocess.check_call([sys.executable, "build.py"], cwd="..")
  
imports: import os
  import sys
  import subprocess
label_desc: Use image node_id 1 for calling a global function with example usage: do_rebuild(app) without return types