Get a layer

Returns detailed information about a specific layer, including its contents, visibility, lock state, and sublayers.