Dilation

How do they check you for dilation? Is it like when they check your cervix kinda like a pap smear or do they do it another way?