Added a new method toBool()