Alternative version of the check with 300% less magic values: if (writeLock & StopBitMask)