[CLEANUP] Use && and || instead of if.