def pod_is_running(self, pod: V1Pod):
    'Tests if pod is running'
    state = self._task_status(self.read_pod(pod))
    return (state not in (State.SUCCESS, State.FAILED))
Tests if pod is running
def pod_is_running(self, pod: V1Pod):
    
    state = self._task_status(self.read_pod(pod))
    return (state not in (State.SUCCESS, State.FAILED))