'Validate the configuration.
Returns:
True or False after print result to stdout'

def validate(self):

    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 = yml_or_yaml_path(ymldir, 'spinnaker-local')
        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
