public function isAutoDelete(Model $model) { return $this->hasAlgoliaTrait($model) && $model->autoDelete(); }