Item.locked

bool locked() @property nothrow

Get locked property.

Returns

Whether the item is locked or not.

An item may not be independently lockable separate from other items in its collection.

To lock or unlock a item use the secret.service.Service.lock or secret.service.Service.unlock functions.