var imageShow = myImage.IsShowing()
Note:In this example, the variable imageShow will contain true or false depending on the current state of myImage.