code: def test_closable_dock():
      name = "Test close dock"
      dock = da.Dock(name=name, closable=True)
  
      assert dock.label.closeButton is not None
  
imports: import pytest
  import pyqtgraph
  import pyqtgraph.dockarea
label_desc: Use image node_id 2 for calling a global function with example usage: test_closable_dock() without return types