I tried this on my Fenix 5s plus and also a user of one of my datafields experienced this with his Fenix 5 plus. Code where this check is used:
if (Activity has :getCurrentWorkoutStep) {
always returns "true" on these watches. Also when no workout is selected.
In the Garmin simulator this isn't the case and the code runs correct.