There is an easy way to vent them with no stress on you or the fish, especially if said fish is food motivated.
Get the fish in question in a near vertical position as seen here via teasing with food.
Then grab a picture
Them you can zoom into the area in question.
As seen here, if the holes are different in size then you have a female. If simular in size you have a male.