isWriteLockedOrPending

Returns true if the mutex is read-locked or a writer is waiting to acquire the lock.

This is the opposite of isReadLockAvailable.