def checkDataIntegrity(collection, **kwargs): mongo_db = MongoDB(**kwargs) return mongo_db.checkIntegrity(collection)