public function indexOnly(Model $model, $index_name) { return !method_exists($model, 'indexOnly') || $model->indexOnly($index_name); }