Thank you for the grading!
I used conditions because there was no restriction to use them, or avoid using them, it's much easier for a reader that hasn't seen code before to understand the logic behind it, using an if statement than a boolean, that's why I used them.