public function isEmbeddedOneChanged($name)
    {
        if (!isset($this->data['embeddedsOne'])) {
            return false;
        }

        if (!isset($this->data['embeddedsOne'][$name]) && !array_key_exists($name, $this->data['embeddedsOne'])) {
            return false;
        }

        return Archive::has($this, 'embedded_one.'.$name);
    }
public function isEmbeddedOneChanged($name)
    {
        if (!isset($this->data['embeddedsOne'])) {
            return false;
        }

        if (!isset($this->data['embeddedsOne'][$name]) && !array_key_exists($name, $this->data['embeddedsOne'])) {
            return false;
        }

        return Archive::has($this, 'embedded_one.'.$name);
    }
public function isEmbeddedOneChanged ( $ name ) { if ( ! isset ( $ this -> data [ 'embeddedsOne' ] ) ) { return false ; } if ( ! isset ( $ this -> data [ 'embeddedsOne' ] [ $ name ] ) && ! array_key_exists ( $ name , $ this -> data [ 'embeddedsOne' ] ) ) { return false ; } return Archive :: has ( $ this , 'embedded_one.' . $ name ) ; }
Returns if an embedded one is changed.

@param string $name The embedded one name.

@return bool If the embedded one is modified.

@api
Returns if an embedded one is changed .