def __eq__(self, other: Any) -> bool:
    return (isinstance(other, self.__class__) and (self.__dict__ == other.__dict__))
def __eq__(self, other: Any) -> bool:
    return (isinstance(other, self.__class__) and (self.__dict__ == other.__dict__))