@classmethod
def _is_job_queued(cls, result):
    """Checks whether a job has been queued or not."""
    is_queued, position = False, 0
    if not result.finish_time:
        is_queued = True
        position = result.process[1:-1]
    return is_queued, position
