code: def exists(path):
      '''
      Check if the directory is configured in the SYSTEM path
      Case-insensitive and ignores trailing backslash
  
      Returns:
          boolean True if path exists, False if not
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' win_path.exists 'c:\\python27'
          salt '*' win_path.exists 'c:\\python27\\'
          salt '*' win_path.exists 'C:\\pyThon27'
      '''
      path = _normalize_dir(path)
      sysPath = get_path()
  
      return path.lower() in (x.lower() for x in sysPathf exists(path):
      '''
      Check if the directory is configured in the SYSTEM path
      Case-insensitive and ignores trailing backslash
  
      Returns:
          boolean True if path exists, False if not
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' win_path.exists 'c:\\python27'
          salt '*' win_path.exists 'c:\\python27\\'
          salt '*' win_path.exists 'C:\\pyThon27'
      '''
      path = _normalize_dir(path)
      sysPath = get_path()
  
      return path.lower() in (x.lower() for x in sysPath)
docs: Check if the directory is configured in the SYSTEM path
      Case-insensitive and ignores trailing backslash
  
      Returns:
          boolean True if path exists, False if not
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' win_path.exists 'c:\\python27'
          salt '*' win_path.exists 'c:\\python27\\'
          salt '*' win_path.exists 'C:\\pyThon27'