9.9.1 IsSet

bool IsSet() const

This method is equivalent to the expression GetHasValue() || GetHasDefault().