It checks all key and values.  From what I can tell, it's what the underlying Set::equals does.