def __nonzero__(self):
        return bool(
            self.presence or
            self.joined or
            self.invited or
            self.archived or
            self.account_data
        )
Make the result appear empty if there are no updates. This is used
dataset/ETHPy150Open matrix-org/synapse/synapse/handlers/sync.py/SyncResult.__nonzero__