code: func getPodCondition(status *corev1.PodStatus, conditionType corev1.PodConditionType) (int, *corev1.PodCondition) {
  	if status == nil {
  		return -1, nil
  	}
  	return getPodConditionFromList(status.Conditions, conditionType)
  }
docs: // GetPodCondition extracts the provided condition from the given status and returns that.
  // Returns nil and -1 if the condition is not present, and the index of the located condition.