code: def check_code_examples_in_dir(approved_py_code_examples, directory):
      actual = []
      for f in os.listdir(directory):
          if f.endswith(".py"):
              actual.append(f)
      if len(approved_py_code_examples) > len(actual):
          return False
      for e in approved_py_code_examples:
          if not (e.split("/")[-1] in actual):
              return False
      return True
  
imports: import sys, os
  import h2o
label_desc: Use image node_id 3 for calling a global function with example usage: check_code_examples_in_dir(approved_py_code_examples, directory) and returns: True, False, False