code: def test_is_enabled(dvc, updater, config, result):
      with dvc.config.edit(validate=False) as conf:
          conf["core"] = config
  
      assert result == updater.is_enabled()
  
file_path: dvc/tests/unit/test_updater.py
imports: import json
  import logging
  import os
  import time
  import pytest
  from dvc import __version__
  from dvc.updater import Updater
  from tests.func.parsing.test_errors import escape_ansi
label_desc: Use image node_id 6 for calling a global function with example usage: test_is_enabled(dvc, updater, config, result) without return types