code: def validate_webdata(path, files=[], logging=False):
      """
      ## validate_auth_keys
  
      Validates, and also maintains downloaded list of files.
  
      Parameters:
          path (string): path of downloaded files
          files (list): list of files to be validated
          logging (bool): enables logging for its operations
  
      **Returns:** A  boolean value, confirming whether tests passed, or not?.
      """
      # check if valid path or directory empty
      if not (os.path.exists(path)) or not (os.listdir(path)):
          return False
  
      files_buffer = []
      # loop over files
      for file in os.listdir(path):
          if file in files:
              files_buffer.append(file)  # store them
  
      # return results
      if len(files_buffer) < len(files):
          if logging:
              logger.warning(
                  "`{}` file(s) missing from data-files!".format(
                      " ,".join(list(set(files_buffer) ^ set(files)))
                  )
              )
          return False
      else:
          return True
  
file_path: vidgear/vidgear/gears/asyncio/helper.py
imports: import os
  import cv2
  import requests
  import numpy
  import logging
  from tqdm import tqdm
  from colorlog import ColoredFormatter
  from requests.adapters import HTTPAdapter
  from requests.packages.urllib3.util.retry import Retry
  from ..helper import logger_handler, mkdir_safe
label_desc: Use image node_id 4 for calling a global function with example usage: validate_webdata(path, files, logging) and returns: False, False, True