func isPVEnabled(cr *v1alpha1.RethinkDBCluster) bool {
	if podPolicy := cr.Spec.Pod; podPolicy != nil {
		return podPolicy.PersistentVolumeClaimSpec != nil
	}
	return false
}
// isPVEnabled helper to determine if persistent volumes have been enabled.
isPVEnabled helper to determine if persistent volumes have been enabled.
// isPVEnabled helper to determine if persistent volumes have been enabled .
func isPVEnabled(cr *v1alpha1.RethinkDBCluster) bool {
	if podPolicy := cr.Spec.Pod; podPolicy != nil {
		return podPolicy.PersistentVolumeClaimSpec != nil
	}
	return false
}
func isPVEnabled ( cr * v1alpha1 . RethinkDBCluster ) bool { if podPolicy := cr . Spec . Pod ; podPolicy != nil { return podPolicy . PersistentVolumeClaimSpec != nil } return false }
isPVEnabled helper to determine if persistent volumes have been enabled.
isPVEnabled helper to determine if persistent volumes have been enabled .