ok = LayerGroupExists(group$)
group$
True
False
You need to enable layers before you can use this function. See Layers introduction for details.