def _validate_cert_path(name):
 cmd = "Test-Path -Path '{0}'".format(name)
 if (not ast.literal_eval(_cmd_run(cmd=cmd))):
  raise SaltInvocationError('Invalid path specified: {0}'.format(name))

def _validate_cert_path ( name ) : cmd = "Test-Path -Path '{0}'" . format ( name ) if ( not ast . literal_eval ( _cmd_run ( cmd = cmd ) ) ) : raise SaltInvocationError ( 'Invalid path specified: {0}' . format ( name ) )
ensure that the certificate path .