def find_file_mismatch_nodes():
 return [node for node in Node.find() if (set(node.files_versions.keys()) != set(node.files_current.keys()))]

def find_file_mismatch_nodes ( ) : return [ node for node in Node . find ( ) if ( set ( node . files_versions . keys ( ) ) != set ( node . files_current . keys ( ) ) ) ]
find nodes with inconsistent files_current and files_versions field keys .