protected function is_empty($value) : bool {
        if ($this->datafield() === 'value' || $this->datafield() === 'charvalue' || $this->datafield() === 'shortcharvalue') {
            return '' . $value === '';
        }
        return empty($value);
    }
protected function is_empty($value) : bool {
        if ($this->datafield() === 'value' || $this->datafield() === 'charvalue' || $this->datafield() === 'shortcharvalue') {
            return '' . $value === '';
        }
        return empty($value);
    }
protected function is_empty ( $ value ) : bool { if ( $ this -> datafield ( ) === 'value' || $ this -> datafield ( ) === 'charvalue' || $ this -> datafield ( ) === 'shortcharvalue' ) { return '' . $ value === '' ; } return empty ( $ value ) ; }
Checks if the value is empty

@param mixed $value
@return bool
Checks if the value is empty