def __nonzero__(self):
        return bool(
            self.timeline
            or self.state
            or self.ephemeral
            or self.account_data
            # nb the notification count does not, er, count: if there's nothing
            # else in the result, we don't need to send it.
        )
Returns a list of FunctionArgs for the specified target_type.
dataset/ETHPy150Open matrix-org/synapse/synapse/handlers/sync.py/JoinedSyncResult.__nonzero__--crossover with--dataset/ETHPy150Open pantsbuild/pants/src/python/pants/help/build_dictionary_info_extracter.py/BuildDictionaryInfoExtracter.get_target_args