private function isTranslationActive($model)
    {
        if (!$model) {
            return false;
        }
        if (is_array($this->requiredAttributes) && !empty($this->requiredAttributes)) {
            foreach ($this->requiredAttributes as $attribute) {
                if ($model->{$attribute} && !empty($model->{$attribute})) {
                    return true;
                }
            }
        } else {
            return true;
        }
        return false;
    }