isWriteLocked

Returns true if the mutex is write-locked.

A false value does not necessarily mean that read locks are available. Use isReadLockAvailable to check if read locks are available to be acquired.