Easy way to see this is from the old way with binary, as it works in the same principle.
1 = ON
0 = OFF
But unfortunatly, this won't work for boss's to be stopped from being tamed. If I remember rightly, wether it be 1 or 0 the mob is still attacked by the stun and if untamable will go RED instantly.
Why not try restricting the use of stun on a mob from MAPQUEST.
Your welcome.I will try restricting on mapquest and will post solution. Thanks for the idea.