def experiment_completed(self):
heroku_app = HerokuApp(self.app_id)<EOL>status_url = "<STR_LIT>".format(heroku_app.url)<EOL>data = {}<EOL>try:<EOL><INDENT>resp = requests.get(status_url)<EOL>data = resp.json()<EOL><DEDENT>except (ValueError, requests.exceptions.RequestException):<EOL><INDENT>logger.exception("<STR_LIT>")<EOL><DEDENT>logger.debug("<STR_LIT>".format(data))<EOL>return data.get("<STR_LIT>", False)<EOL>
Checks the current state of the experiment to see whether it has
        completed. This makes use of the experiment server `/summary` route,
        which in turn uses :meth:`~Experiment.is_complete`.