DietCake Exercises

Shouldn't this be
if (!empty($thread->validation_errors['title']['length'])) ?