If you do want to check all of the attributes, you can use tuples and Python's implicit line continuations to do this more concisely:
```python
return (
    type(self) == type(other) and
    (self.type(), self.name, self.active_page_name) == (other.type(), other.name, other.active_page_name)
)
```