How Do I find the Light Layer Index/RenderingLayerMask using the Light Layer's name?

I know how to set the Light Layers of a GameObject in script/code (aka: do the renderingLayerMask = layerIndex), I don’t want to have to use hard coded “magic indices”, so that my code is a lot more readable for any other coders who happen to need to go into that part of our code.

But is there a way to find a Light Layer’s index using the name for it? I know for standard/normal Layers you use:
LayerMask.NameToLayer(“layerName”), is there a function like that for specifically the Light Layers?

I’ve never heard of “light layers.” The Unity I use employs regular old Layers to control Lights.

it’s a feature of HDRP
https://docs.unity3d.com/Packages/com.unity.render-pipelines.high-definition@7.1/manual/Light-Layers.html

Did you manage to find this out by any chance?