is_unicode_surrogate
if (is_unicode_surrogate(value))
return value <= UNICODE_MAX && !is_unicode_surrogate(value);