public function isTranslationAttribute($key)
    {
        if ($this->isSpecialAttribute($key))
        {
            return false;
        }

        // When there is no node type we exclude source attributes
        return $this->_isTranslationAttribute($key) ||
        (is_null($this->getNodeTypeName()) ? false : $this->isSourceAttribute($key));
    }
public function isTranslationAttribute($key)
    {
        if ($this->isSpecialAttribute($key))
        {
            return false;
        }

        // When there is no node type we exclude source attributes
        return $this->_isTranslationAttribute($key) ||
        (is_null($this->getNodeTypeName()) ? false : $this->isSourceAttribute($key));
    }
public function isTranslationAttribute ( $ key ) { if ( $ this -> isSpecialAttribute ( $ key ) ) { return false ; } // When there is no node type we exclude source attributes return $ this -> _isTranslationAttribute ( $ key ) || ( is_null ( $ this -> getNodeTypeName ( ) ) ? false : $ this -> isSourceAttribute ( $ key ) ) ; }
Checks if key is a translation attribute

@param string $key
@return bool
Checks if key is a translation attribute