Looks like the truth.
But the expression `strlen($this->data[$name]) === 0` is unnecessary, because the expression is checked before.