Checks if the layer state name is present and returns true if so, and false otherwise.
Public Function HasLayerState( name As string ) As bool
public bool HasLayerState( string name );