Documentation
As the new public locked method has been add to the multiprocessing.SemLock base class, this method is also available for multiprocessing.[Bounded]Semaphore, as currently for multprocessing.[R]Lock classes.
The documentation should be updated by adding an entry for each class as below:
| .. method:: locked() |
| |
| Return a boolean indicating whether this object is locked right now. |
| |
| .. versionadded:: 3.14 |
Linked issue/PR