Refactor: Replace integral type with bool
Refactor: Replace integral type with bool
Refactor: Reformat if statements
Refactor: Replace integral type with bool
Refactor: Replace integral type with bool
Refactor: Replace integral type with bool