protected function getAllowEmpty() { $allowEmpty = $this->tsValue('__meta/allowEmpty'); if ($allowEmpty === null) { return true; } else { return (bool) $allowEmpty; } }