code: def _validate_cert_path(name):
      '''
      Ensure that the certificate path, as determind from user input, is valid.
      '''
      cmd = r"Test-Path -Path '{0}'".format(name)
  
      if not ast.literal_eval(_cmd_run(cmd=cmd)):
          raise SaltInvocationError(r"Invalid path specified: {0}".format(name)f _validate_cert_path(name):
      '''
      Ensure that the certificate path, as determind from user input, is valid.
      '''
      cmd = r"Test-Path -Path '{0}'".format(name)
  
      if not ast.literal_eval(_cmd_run(cmd=cmd)):
          raise SaltInvocationError(r"Invalid path specified: {0}".format(name))
docs: Ensure that the certificate path, as determind from user input, is valid.