original_string: 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);
      }
code: 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);
      }
code_tokens: 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 ) ; }
docstring: Returns whether the column is a translated attribute of the model.
  
  @param Model  $model
  @param string $column
  @return bool
docstring_tokens: Returns whether the column is a translated attribute of the model .