Use boolean macro instead of integer literal in `is_debug_info_defined`.
Merge pull request #2083 from take-cheeze/use_bool_macro

Use boolean macro instead of integer literal in `is_debug_info_defined`.