code: func GetPodReadyCondition(status PodStatus) *PodCondition {
  	for i, c := range status.Conditions {
  		if c.Type == PodReady {
  			return &status.Conditions[i]
  		}
  	}
  	return nil
  }
docs: // Extracts the pod ready condition from the given status and returns that.
  // Returns nil if the condition is not present.