'Get job status from GoDocker and return the status of job.
Pass job_id to http_get_request method.'

def get_task_status(self, job_id):

    job = False
    if self.auth.token:
        result = self.auth.http_get_request((('/api/1.0/task/' + str(job_id)) + '/status'), {'Authorization': ('Bearer    ' + self.auth.token)})
        job = result.json()
    return job
