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