minor

Signed-off-by: Andrew Miller <amiller@dappervision.com>
Fixed logic for guessing if a mutex/condition is initialized

Signed-off-by: Andrew Miller <amiller@dappervision.com>