Repository: vmware/govmomi
Pull request #3520 (2024-08-13 14:35:53)

api: OptionValues IsTrue|IsFalse

## Description

This patch adds the IsTrue|IsFalse methods to the OptionValuesList helper. The functions return true|false based on the same logic common to vCenter.

Closes: `NA`

## Type of change

Please mark options that are relevant:

- [ ] Bug fix (non-breaking change which fixes an issue)
- [x] New feature (non-breaking change which adds functionality)
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected)
- [ ] This change requires a documentation update
- [ ] Build related change

## How Has This Been Tested?

The new code has 100% coverage with the following tests:

```shell
$ go test -v -count 1 -run '^TestOptionValueList$/IsTrueOrFalse' ./object
=== RUN   TestOptionValueList
=== RUN   TestOptionValueList/IsTrueOrFalse
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_nil_receiver_should_not_panic_and_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_non-existent_key_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_true_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_false_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_byte(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint8(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint16(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint32(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint64(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int8(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int16(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int32(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int64(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_float32(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_float64(0)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_byte(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint8(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint16(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint32(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint64(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int8(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int16(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int32(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int64(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_float32(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_float64(1)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_""_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"1"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"on"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"oN"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"On"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"ON"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"t"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"T"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"true"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"truE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"trUe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"trUE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"tRue"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"tRuE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"tRUe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"tRUE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"True"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TruE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TrUe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TrUE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TRue"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TRuE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TRUe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TRUE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"y"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"Y"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"yes"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"yeS"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"yEs"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"yES"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"Yes"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"YeS"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"YEs"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"YES"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"0"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"f"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"F"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"false"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"falsE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"falSe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"falSE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"faLse"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"faLsE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"faLSe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"faLSE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fAlse"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fAlsE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fAlSe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fAlSE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fALse"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fALsE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fALSe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fALSE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"False"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FalsE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FalSe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FalSE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FaLse"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FaLsE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FaLSe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FaLSE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FAlse"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FAlsE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FAlSe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FAlSE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FALse"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FALsE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FALSe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FALSE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"n"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"N"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"no"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"nO"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"No"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"NO"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"off"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"ofF"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"oFf"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"oFF"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"Off"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"OfF"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"OFf"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"OFF"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_nil_receiver_should_not_panic_and_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_non-existent_key_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_true_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_false_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_byte(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint8(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint16(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint32(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint64(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int8(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int16(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int32(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int64(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_float32(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_float64(0)_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_byte(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint8(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint16(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint32(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint64(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int8(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int16(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int32(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int64(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_float32(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_float64(1)_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_""_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"1"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"on"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"oN"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"On"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"ON"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"t"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"T"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"true"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"truE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"trUe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"trUE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"tRue"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"tRuE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"tRUe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"tRUE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"True"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TruE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TrUe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TrUE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TRue"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TRuE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TRUe"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TRUE"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"y"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"Y"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"yes"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"yeS"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"yEs"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"yES"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"Yes"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"YeS"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"YEs"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"YES"_should_return_false
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"0"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"f"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"F"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"false"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"falsE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"falSe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"falSE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"faLse"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"faLsE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"faLSe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"faLSE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fAlse"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fAlsE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fAlSe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fAlSE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fALse"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fALsE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fALSe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fALSE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"False"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FalsE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FalSe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FalSE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FaLse"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FaLsE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FaLSe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FaLSE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FAlse"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FAlsE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FAlSe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FAlSE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FALse"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FALsE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FALSe"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FALSE"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"n"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"N"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"no"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"nO"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"No"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"NO"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"off"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"ofF"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"oFf"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"oFF"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"Off"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"OfF"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"OFf"_should_return_true
=== RUN   TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"OFF"_should_return_true
--- PASS: TestOptionValueList (0.01s)
    --- PASS: TestOptionValueList/IsTrueOrFalse (0.01s)
        --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_nil_receiver_should_not_panic_and_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_non-existent_key_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_true_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_false_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_byte(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint8(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint16(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint32(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint64(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int8(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int16(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int32(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int64(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_float32(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_float64(0)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_byte(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint8(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint16(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint32(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_uint64(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int8(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int16(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int32(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_int64(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_float32(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_float64(1)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_""_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"1"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"on"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"oN"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"On"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"ON"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"t"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"T"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"true"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"truE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"trUe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"trUE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"tRue"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"tRuE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"tRUe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"tRUE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"True"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TruE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TrUe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TrUE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TRue"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TRuE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TRUe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"TRUE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"y"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"Y"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"yes"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"yeS"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"yEs"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"yES"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"Yes"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"YeS"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"YEs"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"YES"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"0"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"f"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"F"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"false"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"falsE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"falSe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"falSE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"faLse"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"faLsE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"faLSe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"faLSE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fAlse"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fAlsE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fAlSe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fAlSE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fALse"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fALsE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fALSe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"fALSE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"False"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FalsE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FalSe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FalSE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FaLse"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FaLsE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FaLSe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FaLSE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FAlse"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FAlsE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FAlSe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FAlSE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FALse"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FALsE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FALSe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"FALSE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"n"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"N"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"no"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"nO"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"No"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"NO"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"off"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"ofF"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"oFf"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"oFF"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"Off"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"OfF"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"OFf"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsTrue/a_key_with_"OFF"_should_return_false (0.00s)
        --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_nil_receiver_should_not_panic_and_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_non-existent_key_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_true_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_false_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_byte(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint8(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint16(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint32(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint64(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int8(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int16(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int32(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int64(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_float32(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_float64(0)_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_byte(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint8(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint16(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint32(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_uint64(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int8(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int16(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int32(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_int64(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_float32(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_float64(1)_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_""_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"1"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"on"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"oN"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"On"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"ON"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"t"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"T"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"true"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"truE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"trUe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"trUE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"tRue"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"tRuE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"tRUe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"tRUE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"True"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TruE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TrUe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TrUE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TRue"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TRuE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TRUe"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"TRUE"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"y"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"Y"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"yes"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"yeS"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"yEs"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"yES"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"Yes"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"YeS"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"YEs"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"YES"_should_return_false (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"0"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"f"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"F"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"false"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"falsE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"falSe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"falSE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"faLse"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"faLsE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"faLSe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"faLSE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fAlse"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fAlsE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fAlSe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fAlSE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fALse"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fALsE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fALSe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"fALSE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"False"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FalsE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FalSe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FalSE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FaLse"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FaLsE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FaLSe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FaLSE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FAlse"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FAlsE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FAlSe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FAlSE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FALse"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FALsE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FALSe"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"FALSE"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"n"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"N"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"no"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"nO"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"No"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"NO"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"off"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"ofF"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"oFf"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"oFF"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"Off"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"OfF"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"OFf"_should_return_true (0.00s)
            --- PASS: TestOptionValueList/IsTrueOrFalse/IsFalse/a_key_with_"OFF"_should_return_true (0.00s)
PASS
ok  	github.com/vmware/govmomi/object	0.441s
```

## Checklist:

- [x] My code follows the `CONTRIBUTION` [guidelines] of this project
- [x] I have commented my code, particularly in hard-to-understand areas
- [x] I have made corresponding changes to the documentation
- [x] I have added tests that prove my fix is effective or that my feature works
- [x] New and existing unit tests pass locally with my changes
- [x] Any dependent changes have been merged

[guidelines]: https://github.com/vmware/govmomi/blob/main/CONTRIBUTING.md



Patch:
diff --git a/object/option_value_list.go b/object/option_value_list.go
index 9f91253c..2bdcce39 100644
--- a/object/option_value_list.go
+++ b/object/option_value_list.go
@@ -19,6 +19,8 @@ package object
 import (
 	"fmt"
 	"reflect"
+	"slices"
+	"strings"
 
 	"github.com/vmware/govmomi/vim25/types"
 )
@@ -44,6 +46,65 @@ func OptionValueListFromMap[T any](in map[string]T) OptionValueList {
 	return out
 }
 
+// IsTrue returns true if the specified key exists with an empty value or value
+// equal to 1, "1", "on", "t", true, "true", "y", or "yes".
+// All string comparisons are case-insensitive.
+func (ov OptionValueList) IsTrue(key string) bool {
+	return ov.isTrueOrFalse(key, true, 1, "", "1", "on", "t", "true", "y", "yes")
+}
+
+// IsFalse returns true if the specified key exists and has a value equal to
+// 0, "0", "f", false, "false", "n", "no", or "off".
+// All string comparisons are case-insensitive.
+func (ov OptionValueList) IsFalse(key string) bool {
+	return ov.isTrueOrFalse(key, false, 0, "0", "f", "false", "n", "no", "off")
+}
+
+func (ov OptionValueList) isTrueOrFalse(
+	key string,
+	boolVal bool,
+	numVal int,
+	strVals ...string) bool {
+
+	val, ok := ov.Get(key)
+	if !ok {
+		return false
+	}
+
+	switch tval := val.(type) {
+	case string:
+		return slices.Contains(strVals, strings.ToLower(tval))
+	case bool:
+		return tval == boolVal
+	case uint:
+		return tval == uint(numVal)
+	case uint8:
+		return tval == uint8(numVal)
+	case uint16:
+		return tval == uint16(numVal)
+	case uint32:
+		return tval == uint32(numVal)
+	case uint64:
+		return tval == uint64(numVal)
+	case int:
+		return tval == int(numVal)
+	case int8:
+		return tval == int8(numVal)
+	case int16:
+		return tval == int16(numVal)
+	case int32:
+		return tval == int32(numVal)
+	case int64:
+		return tval == int64(numVal)
+	case float32:
+		return tval == float32(numVal)
+	case float64:
+		return tval == float64(numVal)
+	}
+
+	return false
+}
+
 // Get returns the value if exists, otherwise nil is returned. The second return
 // value is a flag indicating whether the value exists or nil was the actual
 // value.


Test patch:
diff --git a/object/option_value_list_test.go b/object/option_value_list_test.go
index 57d979e2..604fc532 100644
--- a/object/option_value_list_test.go
+++ b/object/option_value_list_test.go
@@ -17,6 +17,8 @@ limitations under the License.
 package object_test
 
 import (
+	"fmt"
+	"strings"
 	"testing"
 
 	"github.com/stretchr/testify/assert"
@@ -112,6 +114,233 @@ func TestOptionValueList(t *testing.T) {
 		})
 	})
 
+	t.Run("IsTrueOrFalse", func(t *testing.T) {
+
+		type testCase struct {
+			name string
+			left object.OptionValueList
+			key  string
+			ok   bool
+		}
+
+		addBoolTestCases := func(b, ok bool) []testCase {
+			return []testCase{
+				{
+					name: fmt.Sprintf("a key with %v should return %v", b, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: b},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with %v should return %v", !b, !ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: !b},
+					},
+					key: sza,
+					ok:  !ok,
+				},
+			}
+		}
+
+		addNumericalTestCases := func(i int, ok bool) []testCase {
+			return []testCase{
+				{
+					name: fmt.Sprintf("a key with byte(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: byte(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with uint(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: uint(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with uint8(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: uint8(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with uint16(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: uint16(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with uint32(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: uint32(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with uint64(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: uint64(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+
+				{
+					name: fmt.Sprintf("a key with int(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: int(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with int8(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: int8(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with int16(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: int16(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with int32(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: int32(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with int64(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: int64(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+
+				{
+					name: fmt.Sprintf("a key with float32(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: float32(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+				{
+					name: fmt.Sprintf("a key with float64(%v) should return %v", i, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: float64(i)},
+					},
+					key: sza,
+					ok:  ok,
+				},
+			}
+		}
+
+		addTestCasesForPermutedString := func(s string, ok bool) []testCase {
+			var testCases []testCase
+			for _, s := range permuteByCase(s) {
+				testCases = append(testCases, testCase{
+					name: fmt.Sprintf("a key with %q should return %v", s, ok),
+					left: object.OptionValueList{
+						&types.OptionValue{Key: sza, Value: s},
+					},
+					key: sza,
+					ok:  ok,
+				})
+			}
+			return testCases
+		}
+
+		addTestCasesForPermutedStrings := func(ok bool, args ...string) []testCase {
+			var testCases []testCase
+			for i := range args {
+				testCases = append(testCases, addTestCasesForPermutedString(args[i], ok)...)
+			}
+			return testCases
+		}
+
+		baseTestCases := []testCase{
+			{
+				name: "a nil receiver should not panic and return false",
+				left: nil,
+				key:  "",
+				ok:   false,
+			},
+			{
+				name: "a non-existent key should return false",
+				left: object.OptionValueList{},
+				key:  "",
+				ok:   false,
+			},
+		}
+
+		runTests := func(t *testing.T, expected bool) {
+			testCases := append([]testCase{}, baseTestCases...)
+
+			for i := range baseTestCases {
+				tc := testCases[i]
+				t.Run(tc.name, func(t *testing.T) {
+					var ok bool
+					if expected {
+						assert.NotPanics(t, func() { ok = tc.left.IsTrue(tc.key) })
+						assert.Equal(t, tc.ok, ok)
+					} else {
+						assert.NotPanics(t, func() { ok = tc.left.IsFalse(tc.key) })
+						assert.Equal(t, tc.ok, ok)
+					}
+				})
+			}
+
+			testCases = append([]testCase{}, addBoolTestCases(true, expected)...)
+			testCases = append(testCases, addNumericalTestCases(0, !expected)...)
+			testCases = append(testCases, addNumericalTestCases(1, expected)...)
+			testCases = append(testCases, addTestCasesForPermutedStrings(expected, "", "1", "on", "t", "true", "y", "yes")...)
+			testCases = append(testCases, addTestCasesForPermutedStrings(!expected, "0", "f", "false", "n", "no", "off")...)
+
+			for i := range testCases {
+				tc := testCases[i]
+				t.Run(tc.name, func(t *testing.T) {
+					var ok bool
+					if expected {
+						assert.NotPanics(t, func() { ok = tc.left.IsTrue(tc.key) })
+						assert.Equal(t, tc.ok, ok)
+						assert.NotPanics(t, func() { ok = tc.left.IsFalse(tc.key) })
+						assert.Equal(t, !tc.ok, ok)
+					} else {
+						assert.NotPanics(t, func() { ok = tc.left.IsTrue(tc.key) })
+						assert.Equal(t, !tc.ok, ok)
+						assert.NotPanics(t, func() { ok = tc.left.IsFalse(tc.key) })
+						assert.Equal(t, tc.ok, ok)
+					}
+
+				})
+			}
+		}
+
+		t.Run("IsTrue", func(t *testing.T) { runTests(t, true) })
+		t.Run("IsFalse", func(t *testing.T) { runTests(t, false) })
+
+	})
+
 	t.Run("Get", func(t *testing.T) {
 		testCases := []struct {
 			name string
@@ -601,3 +830,27 @@ func TestOptionValueList(t *testing.T) {
 		}
 	})
 }
+
+func permuteByCase(s string) []string {
+	if len(s) == 0 {
+		return []string{s}
+	}
+
+	if len(s) == 1 {
+		lc := strings.ToLower(s)
+		uc := strings.ToUpper(s)
+		if lc == uc {
+			return []string{s}
+		}
+		return []string{lc, uc}
+	}
+
+	var p []string
+	for _, i := range permuteByCase(s[0:1]) {
+		for _, j := range permuteByCase(s[1:]) {
+			p = append(p, fmt.Sprintf("%s%s", i, j))
+		}
+	}
+
+	return p
+}