API:IsRaidMainTank

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

Return - true, false

example: /script DEFAULT_CHAT_FRAME:AddMessage(IsRaidMainTank)