Confirming if a system preferences is locked ...

Hi,

Other that by UI scripting, is it possible to check if a specific preference pane is locked ? I have to unlock by UI scripting a preference pane, and before acting upon it I would like to check if it is locked. UI unlocking would be less intrusive if I could have the locked/unlocked status before excuting the UI script ?

The preference pane I want to check is “Power Manager” (uk.co.dssw.powermanager.preferencepane).

Thanks in advance.

Robert Lespérance