def METHOD_NAME(qtbot):
    view, image = make_qt_layer_list_with_layer(qtbot)
    assert image.visible
    assert check_state_at_layer_index(view, 0) == Qt.CheckState.Checked
    image.visible = False
    assert check_state_at_layer_index(view, 0) == Qt.CheckState.Unchecked