Better bool checking