def serialize(self, obj):
            data = ubjson.dumpb(obj)
            if self._batched:
                return struct.pack("!L", len(data)) + data
            else:
                return data
check if the timer is still running
dataset/ETHPy150Open crossbario/autobahn-python/autobahn/wamp/serializer.py/UBJSONObjectSerializer.serialize--crossover with--dataset/ETHPy150Open felskrone/salt-eventsd/salteventsd/timer.py/ResetTimer.is_running