This command will return a 1 if the light is active.

Syntax: 
Return Integer=LIGHT VISIBLE(Light Number)