#NEWLINE# def verify_node_settings_document( document , provider ) : #NEWLINE# #INDENT# try : #NEWLINE# #INDENT# assert ( '_id' in document ) #NEWLINE# assert ( '{}_list_id' . format ( provider ) in document ) #NEWLINE# #UNINDENT# except AssertionError : #NEWLINE# #INDENT# return False #NEWLINE# #UNINDENT# return True