parameters: (config_contents, required_parameters)
return_statement: return True
docstring: Validates the config file contents, checking whether all values are
    non-empty.
  
    Args:
      config_contents: A config dictionary.
      required_parameters: A list of parameters to check for.
  
    Returns:
      True if valid.
docstring_summary: Validates the config file contents, checking whether all values are
    non-empty.
docstring_tokens: Validates the config file contents checking whether all values are non - empty .
function: def _ValidateConfigFile(config_contents, required_parameters):
    """Validates the config file contents, checking whether all values are
    non-empty.
  
    Args:
      config_contents: A config dictionary.
      required_parameters: A list of parameters to check for.
  
    Returns:
      True if valid.
    """
    for parameter in required_parameters:
      if parameter not in config_contents:
        return False
      value = config_contents[parameter]
      if not value or type(value) is not str:
        return False
    return True
function_tokens: def _ValidateConfigFile ( config_contents , required_parameters ) : for parameter in required_parameters : if parameter not in config_contents : return False value = config_contents [ parameter ] if not value or type ( value ) is not str : return False return True