Sometimes you can make an educated guess from the plants lineage, but mainly it is just trying it. Ideally you have at least one strain that you know will do this. Then, when you try and repeat the process, if your control plant turns purple but your new plant doesn't, you know it likely isn't...