def shell_accounts_available():

    db = api.common.get_conn()

    return db.ssh.find({"tid": {"$exists": False}}).count() > 0
Do the actual database synchronization.
dataset/ETHPy150Open picoCTF/picoCTF-Platform-2/api/api/team.py/shell_accounts_available--crossover with--dataset/ETHPy150Open kuri65536/python-for-android/python-modules/twisted/twisted/persisted/journal/rowjournal.py/RowJournal._sync