code: def _ScanFileSystemForWindowsDirectory(self, path_resolver):
      
      result = False
      for windows_path in self._WINDOWS_DIRECTORIES:
        windows_path_spec = path_resolver.ResolvePath(windows_path)
  
        result = windows_path_spec is not None
        if result:
          self._windows_directory = windows_path
          break
  
      return result
docs: Scans a file system for a known Windows directory.
  
      Args:
        path_resolver (WindowsPathResolver): Windows path resolver.
  
      Returns:
        bool: True if a known Windows directory was found.