def is_hidden(path):
 if (sys.platform == 'darwin'):
  return (_is_hidden_osx(path) or _is_hidden_dot(path))
 elif (sys.platform == 'win32'):
  return _is_hidden_win(path)
 else:
  return _is_hidden_dot(path)

def is_hidden ( path ) : if ( sys . platform == 'darwin' ) : return ( _is_hidden_osx ( path ) or _is_hidden_dot ( path ) ) elif ( sys . platform == 'win32' ) : return _is_hidden_win ( path ) else : return _is_hidden_dot ( path )
return whether or not a file is hidden .