So I actually went and stored a hash in a variable, and decided to check for it in an if conditional for it to evaluate as true. Needless to say, I feel kind of stupid now. But I just learned something new in the process, so thank you.
It makes sense that you try to focus on the squishy mages at the back of the party first, right? If the mage can out-DPS the enemy DPS before the latter can kill the tank in front, the fight becomes boring.