Similar to the way Blizzards unit frames already display the combat state of the player (Crossed daggers over the players level). TargetInCombat does the same thing for the default target and focus frames.