code: def walk_and_assert_init(folder):
      for root, subfolders, files in os.walk(folder):
          if has_python_file(files):
              assert (
                  "__init__.py" in files
              ), f"Folder {root} is missing __init__.py file"
  
file_path: mmf/tests/utils/test_quality_checks.py
imports: import os
  import unittest
  from mmf.utils.general import get_mmf_root
label_desc: Use image node_id 2 for calling a global function with example usage: walk_and_assert_init(folder) without return types