Collection.locked

Get locked property.

class Collection
@property
bool
locked
()

Return Value

Type: bool

Whether the collection is locked or not.

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