Strict boolean check