It depends a little bit on where you want to determine this, and how exact you need it to be. Get ( FileMakerPath ) can help you tell whether it's "real" FileMaker Go or not - for the rest, options for doing this properly unfortunately seem limited at this time.
You may want to consider voting up this feature request: https://community.filemaker.com/ideas/1673
Thanks definitely will vote for this.
Sent from my iPhone