if frame.optionTable.allowClassColorsForNPCs ~= nil then
-- try to find dispellable debuff
if UnitDebuff(frame.displayedUnit, 1, "RAID") ~= nil then
if frame.optionTable.allowClassColorsForNPCs ~= nil then
-- try to find dispellable debuff
if UnitDebuff(frame.displayedUnit, 1, "RAID") ~= nil then