func isTerminating(pod apiv1.Pod) bool {
	return pod.Spec.ActiveDeadlineSeconds != nil && *pod.Spec.ActiveDeadlineSeconds >= int64(0) || pod.DeletionTimestamp != nil
}
func isTerminating(pod apiv1.Pod) bool {
	return pod.Spec.ActiveDeadlineSeconds != nil && *pod.Spec.ActiveDeadlineSeconds >= int64(0) || pod.DeletionTimestamp != nil
}
func isTerminating ( pod apiv1 . Pod ) bool { return pod . Spec . ActiveDeadlineSeconds != nil && * pod . Spec . ActiveDeadlineSeconds >= int64 ( 0 ) || pod . DeletionTimestamp != nil }
// merged from https://github.com/kubernetes/kubernetes/blob/1f69c34478800e150acd022f6313a15e1cb7a97c/pkg/quota/evaluator/core/pods.go#L333
// and https://github.com/kubernetes/kubernetes/blob/560e15fb9acee4b8391afbc21fc3aea7b771e2c4/pkg/printers/internalversion/printers.go#L606
merged from https : // github . com / kubernetes / kubernetes / blob / 1f69c34478800e150acd022f6313a15e1cb7a97c / pkg / quota / evaluator / core / pods . go#L333 and https : // github . com / kubernetes / kubernetes / blob / 560e15fb9acee4b8391afbc21fc3aea7b771e2c4 / pkg / printers / internalversion / printers . go#L606