I think you're right - I don't believe there is a function to get the status.
I just committed code that adds NRF.getSecurityStatus which works in a similar way to the one you found previously.
NRF.getSecurityStatus
@Gordon started
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
I think you're right - I don't believe there is a function to get the status.
I just committed code that adds
NRF.getSecurityStatus
which works in a similar way to the one you found previously.