def METHOD_NAME(self):
    """Return list of workers."""
    # Get all jobs that are not SUCCEEDED or FAILED.
    jobs = []
    for status in ['SUBMITTED', 'PENDING', 'RUNNABLE', 'STARTING', 'RUNNING']:
        response = self.batch_client.list_jobs(jobQueue=self.args.job_queue, jobStatus=status)
        for jobSummary in response['jobSummaryList']:
            # Only record jobs if a job regex filter isn't provided or if the job's name completely matches
            # a provided job regex filter.
            if not self.args.job_filter or re.fullmatch(
                self.args.job_filter, jobSummary.get("jobName", "")
            ):
                jobs.append(jobSummary)
    logger.info(
        'Workers: {}'.format(
            ' '.join(job['jobId'] + ':' + job['status'] for job in jobs) or '(none)'
        )
    )
    # Only RUNNING jobs are `active` (see WorkerJob definition for meaning of active)
    return [WorkerJob(job['status'] == 'RUNNING') for job in jobs]