def check_status(self):
self.out.log("<STR_LIT>")<EOL>base_url = get_base_url()<EOL>status_url = base_url + "<STR_LIT>"<EOL>while not self.complete:<EOL><INDENT>time.sleep(<NUM_LIT:10>)<EOL>try:<EOL><INDENT>resp = requests.get(status_url)<EOL>exp_data = resp.json()<EOL><DEDENT>except (ValueError, requests.exceptions.RequestException):<EOL><INDENT>self.out.error("<STR_LIT>")<EOL><DEDENT>else:<EOL><INDENT>self.out.log("<STR_LIT>".format(exp_data))<EOL>if exp_data.get("<STR_LIT>", False):<EOL><INDENT>self.out.log("<STR_LIT>")<EOL>self.complete = True<EOL>self.heroku.stop()<EOL><DEDENT><DEDENT><DEDENT>
Check the output of the summary route until
        the experiment is complete, then we can stop monitoring Heroku
        subprocess output.