Return true if the screenshots job is done

def screenshots_done(self, jobid):
        """
        Return true if the screenshots job is done
        """
        resp = self.session.get(os.path.join(self.api_url, '{0}.json'.format(jobid)))
        resp = self._process_response(resp)
        return True if resp.json()['state'] == 'done' else False