Return if a given value is valid in the context of unknown values.
The unknown values are utils.UNKNOWN_INT_VALUE
,
utils.UNKNOWN_STRING_VALUE
, utils.UNKNOWN_FLOAT_VALUE
, and NaN.
- Parameters:
- valuebool or int or str or float
The value to check against the list of UNKNOWN values.
- Returns:
- validbool
False
if the value and type matches the corresponding unknown
value or is not a bool, int, str, or float. NaNs also return False
.
All other values will return True
.