public function isDirty($name)
    {
        /** @type Field_Base $field */
        $field = $this->getElement($name);

        return $this->dirty[$name] ||
            (!$this->loaded() && $field->has_default_value);
    }
public function isDirty($name)
    {
        /** @type Field_Base $field */
        $field = $this->getElement($name);

        return $this->dirty[$name] ||
            (!$this->loaded() && $field->has_default_value);
    }
public function isDirty ( $ name ) { /** @type Field_Base $field */ $ field = $ this -> getElement ( $ name ) ; return $ this -> dirty [ $ name ] || ( ! $ this -> loaded ( ) && $ field -> has_default_value ) ; }
Return true if the field is set.

@param string $name

@return bool
Return true if the field is set .