vsphere/internal/helper/storagepod/storage_pod_helper.go
func HasChildren(pod *object.StoragePod) (bool, error) {
	return folder.HasChildren(pod.Folder)
}
func HasChildren(pod *object.StoragePod) (bool, error) {
	return folder.HasChildren(pod.Folder)
}
func HasChildren ( pod * object . StoragePod ) ( bool , error ) { return folder . HasChildren ( pod . Folder ) }
// HasChildren checks to see if a datastore cluster has any child items
// (datastores) and returns true if that is the case. This is useful when
// checking to see if a datastore cluster is safe to delete - destroying a
// datastore cluster in vSphere destroys *all* children if at all possible
// (including removing datastores), so extra verification is necessary to
// prevent accidental removal.
HasChildren checks to see if a datastore cluster has any child items ( datastores ) and returns true if that is the case . This is useful when checking to see if a datastore cluster is safe to delete - destroying a datastore cluster in vSphere destroys * all * children if at all possible ( including removing datastores ) so extra verification is necessary to prevent accidental removal .