LayerExists -- check if specified layer exists (V4.6)
Synopsis
ret = LayerExists(layer$)
Function
This command simply checks whether or not the specified layer exists.
Obviously, you must pass a layer name here, not a layer id as layer
ids are per se existent.