Hello,
I am trying to add a button to WidgetContextMenu if the selected widget is a Sticker and it is not locked.
I can get the type of widget from the widget object, but it is not clear where i can garner if the widget has been locked or not. This leads to my button being accessible on locked objects, as shown:

Can you please offer any guidance on how to tell whether the widget is locked from within the plugin code?
Hope this is clear and thanks in advance.
Oliver.