def _is_reparse_point(path):
    if sys.getwindowsversion().major < 6:
        raise SaltInvocationError('Symlinks are only supported on Windows Vista or later.')

    result = win32file.GetFileAttributesW(path)

    if result == -1:
        raise SaltInvocationError('The path given is not valid, symlink or not. (does it exist?)')

    if result & 0x400:  # FILE_ATTRIBUTE_REPARSE_POINT
        return True
    else:
        return False
Returns True if path is a reparse point; False otherwise.
dataset/ETHPy150Open saltstack/salt/salt/modules/win_file.py/_is_reparse_point