code: def validate_dir(checks_path, examples_path):
      all_valid = True
      for root, _, files in os.walk(checks_path):
          for file_name in files:
              if file_name != "__init__.py" and file_name.endswith(
                  ".py"
              ):
                  check_path = os.path.join(root, file_name)
                  if any(
                      inspect.getmodule(cls).__file__.endswith(
                          check_path
                      )
                      for cls in ignored_classes
                  ):
                      continue
                  example_file_name = "plot_" + file_name
                  splitted_path = check_path.split("/")
                  submodule_name = splitted_path[1]
                  check_type = splitted_path[-2]
                  example_path = os.path.join(
                      examples_path,
                      submodule_name,
                      check_type,
                      example_file_name,
                  )
                  if not os.path.exists(example_path):
                      print(
                          f"Check {check_path} does not have a corresponding example file"
                      )
                      all_valid = False
                  else:
                      # validate_example(example_path)
                      pass
      return all_valid
  
file_path: deepchecks/tests/examples_validation.py
imports: import inspect
  import os
  import sys
  from urllib.parse import urlparse
  import deepchecks.tabular.checks
  import deepchecks.vision.checks
  from deepchecks.core import BaseCheck
  from deepchecks.utils.strings import generate_check_docs_link
  from deepchecks.vision.checks.data_integrity.abstract_property_outliers import AbstractPropertyOutliers
label_desc: Use image node_id 3 for calling a global function with example usage: validate_dir(checks_path, examples_path) and returns: all_valid