def status(self, workflow_id):
self.logger.debug('<STR_LIT>' + workflow_id)<EOL>url = '<STR_LIT>' % {<EOL>'<STR_LIT>': self.workflows_url, '<STR_LIT>': workflow_id<EOL>}<EOL>r = self.gbdx_connection.get(url)<EOL>r.raise_for_status()<EOL>return r.json()['<STR_LIT:state>']<EOL>
Checks workflow status.

         Args:
             workflow_id (str): Workflow id.

         Returns:
             Workflow status (str).