lockstate_wlocked
if (lockstate_wlocked(&lockstate)) {
bool lockstate_wlocked(const RtldLockState *);