Here we check `if icons` two times, but in exchange we have one `else` statement and no additional `if`s.