def detect(self):
        """Log a list of clients with heartbeat older than CHECK_TIMEOUT"""
        limit = time.time() - CHECK_TIMEOUT
        silent = [ip for (ip, ipTime) in self.beats.items() if ipTime < limit]
        log.msg('Silent clients: %s' % silent)
Log a list of clients with heartbeat older than CHECK_TIMEOUT
recipes/Python/52302_PyHeartbeat__detecting_inactive/recipe-52302.py