Determine if a sketch is visible or Hidden in Drawing View

Hi,

My Drawing / Assembly structure is as such:-

Drawing --> Drawing View1 --> Main Assembly - 1 --> Sub Assembly -1 --> Part-1 --> Sketch.

And I do have "selectbyID" string for my sketch.

I want to determine if the sketch is visible in drawing view or not through API.

-- Jeetendra Prasad.

SolidworksApi macros