My mistake, that check was a copy paste from the example given in the previous code review. Removing the check.