I have a vet that does probing to determine the sex of my snakes. They insert a probe into the cloaca area and depending on how far into the tail the probe goes lets you know if you have a male or female. I know you can find an article to explain it better but it's relatively cheap and it is not harmful to the snakes when done properly.