will the {if $class} return false if empty? i mean, no need for {if $class|ne('')}?