Segmentation-validity function

Segmentation Validity