def validate(self):

    # TODO: Add more verification here
    # This is representative for the time being.
    self.verify_at_least_one_provider_enabled()
    self.verify_google_scopes()
    self.verify_external_dependencies()
    self.verify_security()

    found_local = False   
    for ymldir in [self.__user_config_dir, self.__installation_config_dir]:
      yml_path = os.path.join(ymldir, 'spinnaker-local.yml')
      if not os.path.exists(yml_path):
        continue
      found_local = True

    if not found_local:
      self.__warnings.append(
          'There is no custom spinnaker-local.yml in either'
          ' "{user}" or "{install}"'.format(
               user=self.__user_config_dir,
               install=self.__installation_config_dir))

    if self.__warnings:
      print ('{path} has non-fatal configuration warnings:\n   * {warnings}'
             .format(path=yml_path, warnings='\n   * '.join(self.__warnings)))

    if not self.__errors:
      print '{path} seems ok.'.format(path=yml_path)
      return True
    else:
      print ('{path} has configuration errors:\n   * {errors}'
             .format(path=yml_path, errors='\n   * '.join(self.__errors)))
      return False
Try to find a file on sys.path and the working directory.  If it is not
dataset/ETHPy150Open spinnaker/spinnaker/pylib/spinnaker/validate_configuration.py/ValidateConfig.validate--crossover with--dataset/ETHPy150Open OpenCobolIDE/OpenCobolIDE/open_cobol_ide/extlibs/future/backports/test/support.py/findfile