Is it possible to use position of the light source in light() function of spacial shader?

Godot Version

4.4

Question

I can’t find anywhere online whether there is a built-in of light() shader function which allows user to find light source position in world or view space.
I want to write my own function for attenuation and for this I need to find distance between fragment and light source in the light() shader. Is it possible? If not is there a workaround like getting lights positions in a fragment shader?

So far I only found this proposal from 2024 Add the built-in `LIGHT_POSITION` to the spatial shader's `light()` function · Issue #11299 · godotengine/godot-proposals · GitHub.