Refactored list.bool() to utils.bool()