LayerAPI.getVisibility

 

bool getVisibility()

This method returns TRUE if the layer is currently visible in its view.