def METHOD_NAME():
    values = (('yes', True), ('1', True), ('no', False), ('0', False))
    for value, is_enabled in values:
        data = lib.LineData('key ' + value, 'defaults', False)
        assert data.type == data.TYPE_OPTION
        assert data.option == 'key'
        assert data.value == value
        assert data.is_enabled() == is_enabled
    data = lib.LineData('key neither_yes_nor_no', 'defaults', False)
    assert data.type == data.TYPE_OPTION
    assert data.option == 'key'
    assert data.value == 'neither_yes_nor_no'
    assert data.is_enabled() is None