Update type_to_bool.cpp