Refactor: Replace integral type with bool
Refactor: Replace integral type with bool