def __eq__(self, other:Any) -> bool:
        """Equality."""
        if isinstance(other, IterationRecord):
            for key, value in self.__dict__.items():
                if value != other.__dict__[key]:
                    return False

                return True
        return False
def __eq__ ( self , other : Any ) -> bool : if isinstance ( other , IterationRecord ) : for key , value in self . __dict__ . items ( ) : if value != other . __dict__ [ key ] : return False return True return False
Equality.