Is `compare_attrs` documented somewhere, or should this explanation be moved somewhere common and linked to.