typo in a is_boolean function

Just repaired a typo in a is_boolean function in chapter 3