def METHOD_NAME(widget, document, comm):
    w = widget(disabled=True)
    model = w.get_root(document, comm)
    assert model.disabled == True
    model.disabled = False
    assert model.disabled == False