def find(self, ip=None):
    if (ip is not None):
        return self.get(ip)
    return self.get_all()
def find(self, ip=None):
    if (ip is not None):
        return self.get(ip)
    return self.get_all()