#NEWLINE# def _collection_exists( bus , path ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# item = _interface ( path , path , 'org.freedesktop.DBus.Properties' ) #NEWLINE# item . Get ( 'org.freedesktop.Secret.Collection' , 'Label' ) #NEWLINE# return True #NEWLINE# #UNINDENT# except dbus . exceptions . DBusException : #NEWLINE# #INDENT# return False