code: def walk_and_assert_not_empty(folder):
      for root, subfolders, files in os.walk(folder):
          assert (
              len(files) > 0 or len(subfolders) > 0
          ), f"Folder {root} is empty"
  
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 3 for calling a global function with example usage: walk_and_assert_not_empty(folder) without return types