public function isRenamed()
    {
        if ($this->hasFromToFields() && $this->fromField->name !== $this->toField->name) {
            return true;
        }

        return false;
    }
public function isRenamed()
    {
        if ($this->hasFromToFields() && $this->fromField->name !== $this->toField->name) {
            return true;
        }

        return false;
    }
public function isRenamed ( ) { if ( $ this -> hasFromToFields ( ) && $ this -> fromField -> name !== $ this -> toField -> name ) { return true ; } return false ; }
Check whether or not the field has a name change

@return bool
Check whether or not the field has a name change