code: func isInitContainerFailed(status *kubecontainer.ContainerStatus) bool {
  	if status.State == kubecontainer.ContainerStateExited && status.ExitCode != 0 {
  		return true
  	}
  
  	if status.State == kubecontainer.ContainerStateUnknown {
  		return true
  	}
  
  	return false
  }
docs: // isInitContainerFailed returns true if container has exited and exitcode is not zero
  // or is in unknown state.