The only sure way is to see if they have male or female equipment. When they are very young it's impossible. But when they get older, around 2+ inches, then you can usually tell them apart. Of course, you would need access to a store that has older fish in stock and know what to look for...