Please help me with this macro

I want to run my existing code if there is no callout text under Dimension Text. End if there are text present. what should i add to my code?

Newbie here.

SolidworksApi/macros