original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Returns if an embedded one is changed.
  
  @param string $name The embedded one name.
  
  @return bool If the embedded one is modified.
  
  @api
docstring_tokens: Returns if an embedded one is changed .