Nice approach to test for Boolean property.