Return a boolean indicating whether this object is locked right now.
multiprocessing/BoundedSemaphore.locked
BoundedSemaphore.locked