def save(self, doc):
        if doc.id:
            return self.update(doc)
        else:
            return self.insert(doc)
def verify_data(opt):
    counts = verify(opt)
    print(counts)
    return counts