def __len__(self):
        return self.database.zcard(self.key)
No polling needed.
dataset/ETHPy150Open coleifer/walrus/walrus/containers.py/ZSet.__len__--crossover with--dataset/ETHPy150Open home-assistant/home-assistant/homeassistant/components/sensor/template.py/SensorTemplate.should_poll