Improve bool === test