protected function isColumnTranslated(Model $model, $column)
    {
        $info = $this->getModelInformation($model);

        if ($info) {
            return (    $info->translated
                    &&  array_key_exists($column, $info->attributes)
                    &&  $info->attributes[$column]->translated
                    );
        }

        // Determine based on model itself
        if ( ! $this->hasTranslatableTrait($model)) return false;

        /** @var Translatable $model */
        return $model->isTranslationAttribute($column);
    }
protected function isColumnTranslated(Model $model, $column)
    {
        $info = $this->getModelInformation($model);

        if ($info) {
            return (    $info->translated
                    &&  array_key_exists($column, $info->attributes)
                    &&  $info->attributes[$column]->translated
                    );
        }

        // Determine based on model itself
        if ( ! $this->hasTranslatableTrait($model)) return false;

        /** @var Translatable $model */
        return $model->isTranslationAttribute($column);
    }
protected function isColumnTranslated ( Model $ model , $ column ) { $ info = $ this -> getModelInformation ( $ model ) ; if ( $ info ) { return ( $ info -> translated && array_key_exists ( $ column , $ info -> attributes ) && $ info -> attributes [ $ column ] -> translated ) ; } // Determine based on model itself if ( ! $ this -> hasTranslatableTrait ( $ model ) ) return false ; /** @var Translatable $model */ return $ model -> isTranslationAttribute ( $ column ) ; }
Returns whether the column is a translated attribute of the model.

@param Model  $model
@param string $column
@return bool
Returns whether the column is a translated attribute of the model .