def is_escaped(url):
 if salt.utils.is_windows():
  return False
 scheme = urlparse(url).scheme
 if (not scheme):
  return url.startswith('|')
 elif (scheme == 'salt'):
  (path, saltenv) = parse(url)
  return path.startswith('|')
 else:
  return False

def is_escaped ( url ) : if salt . utils . is_windows ( ) : return False scheme = urlparse ( url ) . scheme if ( not scheme ) : return url . startswith ( '|' ) elif ( scheme == 'salt' ) : ( path , saltenv ) = parse ( url ) return path . startswith ( '|' ) else : return False
test whether url is escaped with | .