code: def check_for_print_statements():
      global success
  
      files = list(
          set(glob.glob("**/*.py", recursive=True))
          - set(glob.glob("**/tests/**", recursive=True))
          - set(glob.glob("docker/**", recursive=True))
          - set(["mindsdb/__main__.py"])
      )
  
      pattern = re.compile("\sprint\(")  # noqa: W605
  
      failed_files = []
  
      for file in files:
          with open(file, "r") as fh:
              if len(re.findall(pattern, fh.read())) > 0:
                  failed_files.append(file)
  
      if failed_files:
          success = False
          print(
              "-- The following files contain print statements. Please remove them: --"
          )
          print()
          for file in failed_files:
              print(file)
  
imports: import glob
  import re
  import sys
label_desc: Use image node_id 1 for calling a global function with example usage: check_for_print_statements() without return types