>If we have a method that allows to check if we already own the lock, Mutex::lock() can do the check and eventually does not need to perform locking.

Why introduce new method while it can be solved via

```php
if (isset($this->_locks[$lockName])) { /* do stuff */ }
```

now?