public function keyDataChanged($key)
    {
        $data           = $this->toArray($key);
        $originalData   = $this->returnOriginalData($key);

        return $data !== $originalData;
    }
public function keyDataChanged($key)
    {
        $data           = $this->toArray($key);
        $originalData   = $this->returnOriginalData($key);

        return $data !== $originalData;
    }
public function keyDataChanged ( $ key ) { $ data = $ this -> toArray ( $ key ) ; $ originalData = $ this -> returnOriginalData ( $ key ) ; return $ data !== $ originalData ; }
check that data for given key was changed

@param string $key
@return bool
check that data for given key was changed