API:IsRaidMainAttack

Description: Returns whether the player is a Raid Main Attacker as also indicated by the small GOLD SWORD icon in the raid party frame.

Return - true, false

example: /script DEFAULT_CHAT_FRAME:AddMessage(IsRaidMainAttack)