datadog-accessors.go
func (c *Comment) HasResource() bool {
	if c != nil && c.Resource != nil {
		return true
	}

	return false
}
func (c *Comment) HasResource() bool {
	if c != nil && c.Resource != nil {
		return true
	}

	return false
}
func ( c * Comment ) HasResource ( ) bool { if c != nil && c . Resource != nil { return true } return false }
// HasResource returns a boolean if a field has been set.
HasResource returns a boolean if a field has been set .