Checks if a layer state is present
Supported Platforms: Windows and Mac OS
(layerstate-has layerstatename)
Type: String
Name of the layer state to be queried.
Type: T or nil
T if the name exists; otherwise nil.
(layerstate-has "myLayerState") T