pub fn check_converted_value<T: Any + FromStr>( result: &Result<T, T::Err>, expected_type: TypeId, ) -> bool