Check whether the current thread holds no tracked critical sections.
Declared in <sync.h>
<sync.h>
bool LockStackEmpty();
true if the lock stack is empty.