There's no `else` logic here, so why not combine the `if` conditions into one?