public function isFieldModified($name)
    {
        return isset($this->fieldsModified[$name]) || array_key_exists($name, $this->fieldsModified);
    }
public function isFieldModified($name)
    {
        return isset($this->fieldsModified[$name]) || array_key_exists($name, $this->fieldsModified);
    }
public function isFieldModified ( $ name ) { return isset ( $ this -> fieldsModified [ $ name ] ) || array_key_exists ( $ name , $ this -> fieldsModified ) ; }
Returns if a field is modified.

@param string $name The field name.

@return bool If the field is modified.

@api
Returns if a field is modified .