'returns an array of the running jobs, values stored in dictionary'

def get_running_jobs(self):

    running = []
    for j in self.jobs:
        if (j['job_state'] == u'running'):
            running.append(j)
    return running
