def __eq__(self, rhs): return (isinstance(rhs, Section) and compare_nullable_icase(self.id, rhs.id) and self.inherits == rhs.inherits and self.exits == rhs.exits and Scope.__eq__(self, rhs))