ot::Preference::Is2BitUintValid() method
Indicates whether a given 2-bit `uint8_t` preference value is valid.
Syntax
static bool Is2BitUintValid(uint8_t a2BitUint); Arguments
a2BitUint
The 2-bit unsigned value to convert from. Only two LSB bits are used and the reset are ignored.
Return value
TRUE if the first 2 bits of @p a2BitUint are `0b00`, `0b01`, or `0b11`. FALSE if the first 2 bits of @p a2BitUint are `0b01`.