Example: GetDisplayLayer
To find out whether layer 1026 in the active document is displayed:
[GetDisplayLayer(0,1026)]