public function isEmptyAllowed($allowEmpty = null)
    {
        if ($allowEmpty === null) {
            return $this->_allowEmpty;
        }

        deprecationWarning(
            'ValidationSet::isEmptyAllowed() is deprecated as a setter. ' .
            'Use ValidationSet::allowEmpty() instead.'
        );

        return $this->allowEmpty($allowEmpty);
    }