proper check if we hold the lock