Actually Deadly does not always mean boss. I've ran across deadly monsters that do not have the Boss Bar.
Also how would you use IsDecoratedDisplayName() in context to your target?
Imo i would compare something(because there is no API call to get this) against the
BossRank Globals. But since there is no way to get this, i have no idea >.<