public function dirty($property = null, $isDirty = null)
    {
        deprecationWarning(
            get_called_class() . '::dirty() is deprecated. ' .
            'Use setDirty()/isDirty() instead.'
        );
        if ($property === null) {
            return $this->isDirty();
        }

        if ($isDirty === null) {
            return $this->isDirty($property);
        }

        $this->setDirty($property, $isDirty);

        return true;
    }