def check_expr_status(self, experiment):
        # update experiment status
        virtual_environment_list = experiment.virtual_environments
        if all(x.status == VEStatus.RUNNING for x in virtual_environment_list) \
                and len(virtual_environment_list) == experiment.template.virtual_environment_count:
            experiment.status = EStatus.RUNNING
            experiment.save()
            try:
                self.template_library.template_verified(experiment.template.id)
            except:
                pass
dataset/ETHPy150Open msopentechcn/open-hackathon/open-hackathon-server/src/hackathon/expr/expr_mgr.py/ExprManager.check_expr_status/original