Shouldn't this be `$annotation->isEmpty()`?