Checks if a layer state is present
(layerstate-has layerstatename)
Arguments
A string specifying the name of the layer state to be queried.
Return Values
T if the name exists; otherwise nil
Examples
(layerstate-has “myLayerState”)
T