acet-layer-locked
(acet-layer-locked layerName) Returns T if specified layer layerName is locked, NIL otherwise.