code: def glob_config(pattern, *search_dirs):
      
      patterns = config_search_paths(pattern, *search_dirs, check_exists=False)
  
      for pattern in patterns:
          for path in glob.iglob(pattern):
              yield path
docs: Return glob results for all possible configuration locations.
  
      Note: This method does not check the configuration "base" directory if the pattern includes a subdirectory.
            This is done for performance since this is usually used to find *all* configs for a certain component.