'Maintains time since last ping.  Returns True if a ping should
be sent.'

def ping_required(self):

    now = time.time()
    if ((now - self.last_ping) > 60):
        self.last_ping = now
        return True
    return False
