code: def test_disk_config():
      sm = SystemMonitor()
      a = sm.update()
      assert "host_disk_io.read_bps" in a
  
      sm = SystemMonitor(monitor_disk_io=False)
      a = sm.update()
      assert "host_disk_io.read_bps" not in a
  
      with dask.config.set(
          {"distributed.admin.system-monitor.disk": False}
      ):
          sm = SystemMonitor()
          a = sm.update()
          assert "host_disk_io.read_bps" not in a
  
file_path: distributed/distributed/tests/test_system_monitor.py
imports: from __future__ import annotations
  from time import sleep
  import pytest
  import dask
  from distributed.system_monitor import SystemMonitor
label_desc: Use image node_id 5 for calling a global function with example usage: test_disk_config() without return types