code: def find_unbuilt_examples(gallery_subdir):
      """Returns True if there are any examples that have not been built yet."""
      for root, dirs, files in os.walk(gallery_subdir):
          in_files = [
              os.path.join(root, f) for f in files if f.endswith(".py")
          ]
          for in_file in in_files:
              out_file = in_file.replace("/gallery/", "/auto_examples/")
              friends = list(get_friends(out_file))
              if any([not os.path.isfile(f) for f in friends]):
                  yield in_file
  
file_path: gensim/docs/src/tools/check_gallery.py
imports: import argparse
  import os
  import os.path
  import re
  import sys
  import shlex
  import subprocess
label_desc: Use image node_id 3 for calling a global function with example usage: find_unbuilt_examples(gallery_subdir) without return types