getValueOrNull

@Nullable
open fun getValueOrNull(): T

Returns the value if it was ever set using setValue, or null if not.