``addClassName`` ensures the class is not duplicated so there's no need for the IF.