Yes, $iif is good in certain situations, but it has its downfall and a bit slower in the processing speed than a simple if and else statement.