def diff_mtime_map(map1, map2):
 if (sorted(map1) != sorted(map2)):
  return True
 for (filename, mtime) in six.iteritems(map1):
  if (map2[filename] != mtime):
   return True
 return False

def diff_mtime_map ( map1 , map2 ) : if ( sorted ( map1 ) != sorted ( map2 ) ) : return True for ( filename , mtime ) in six . iteritems ( map1 ) : if ( map2 [ filename ] != mtime ) : return True return False
is there a change to the mtime map? return a boolean .