I was told by my boss at work that it isn't a Sure-Fire way to tell but a method that works sometimes is with a more mature fish you can make an imaginary line from their dorsal fin to the back one, and if they meet up you can base their gender like that, but it's really difficult to do and it's not a 100% guarantee that it works.