if text_obj.point.nil? && !text_obj.has_leader?
ADD:
More on the eccentricities of view anchored Text notes:
Ruby API Documentation - Errors & Suggestions - #7 by slbaumgartner
and
Ruby API Documentation - Errors & Suggestions - #9 by DanRathbun