LIGHTLISTSTATE system variable
Function Description:
The LIGHTLISTSTATE system variable is used to specify whether the "light in model" dialog box is open or closed.
(Read-Only)
Type : Integer 
Saved in : Not saved 
Initial value : 0 
Range : 0,1
System Variable Value:
0 :off
1 :on