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