def shell_accounts_available():

    db = api.common.get_conn()

    return db.ssh.find({"tid": {"$exists": False}}).count() > 0
Determines whether or not shell accounts are available.
dataset/ETHPy150Open picoCTF/picoCTF-Platform-2/api/api/team.py/shell_accounts_available