#NEWLINE# def _is_node_in_maintenance_window( window , node ) : #NEWLINE# #INDENT# for maintenanced_node in window [ 'machine_ids' ] : #NEWLINE# #INDENT# if ( node == maintenanced_node [ 'hostname' ] ) : #NEWLINE# #INDENT# return True #NEWLINE# #UNINDENT# #UNINDENT# return False