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