Function Lock.isLocked

Returns whether the lock is currently held.

bool isLocked () pure nothrow @property @nogc @safe const;