get_locked
Description:
Get whether the collection is locked or not.
Use [methodService.lock] or [methodService.unlock] to lock or unlock the collection.
Parameters:
| this | a collection | 
Returns:
| whether the collection is locked or not |