Return whether the lock is currently held by an owner.
(self)
| 60 | return self._owner is o |
| 61 | |
| 62 | def locked(self): |
| 63 | """Return whether the lock is currently held by an owner.""" |
| 64 | return self._owner is not None |
| 65 | |
| 66 | |
| 67 | class Widget: |
no outgoing calls
no test coverage detected