def _is_hidden_win(path):
 hidden_mask = 2
 attrs = ctypes.windll.kernel32.GetFileAttributesW(beets.util.syspath(path))
 return ((attrs >= 0) and (attrs & hidden_mask))

def _is_hidden_win ( path ) : hidden_mask = 2 attrs = ctypes . windll . kernel32 . GetFileAttributesW ( beets . util . syspath ( path ) ) return ( ( attrs >= 0 ) and ( attrs & hidden_mask ) )
return whether or not a file is hidden on windows .