func (p *Period) HasValue() bool {
	if p != nil && p.Value != nil {
		return true
	}

	return false
}
func (p *Period) HasValue() bool {
	if p != nil && p.Value != nil {
		return true
	}

	return false
}
func ( p * Period ) HasValue ( ) bool { if p != nil && p . Value != nil { return true } return false }
// HasValue returns a boolean if a field has been set.
HasValue returns a boolean if a field has been set .