| from components.mongodbconnection import provideClient | |
| mc=provideClient() | |
| db=mc["402launch_db"] | |
| coll=db["402launch_col"] | |
| def checkSolverAccount(owner): | |
| document=coll.find_one({"owner":owner}) | |
| return bool(document and "solutions" in document) |
| from components.mongodbconnection import provideClient | |
| mc=provideClient() | |
| db=mc["402launch_db"] | |
| coll=db["402launch_col"] | |
| def checkSolverAccount(owner): | |
| document=coll.find_one({"owner":owner}) | |
| return bool(document and "solutions" in document) |