code: func notRunning(statuses []v1.ContainerStatus) bool {
  	for _, status := range statuses {
  		if status.State.Terminated == nil && status.State.Waiting == nil {
  			return false
  		}
  	}
  	return true
  }
docs: // notRunning returns true if every status is terminated or waiting, or the status list
  // is empty.