context.Has(r, key) bool method

This feature is very useful if you need to know whether the value is set, if it is a pointer, it may be zero.