func (n *NoteDefinition) HasType() bool {
	if n != nil && n.Type != nil {
		return true
	}

	return false
}
func (n *NoteDefinition) HasType() bool {
	if n != nil && n.Type != nil {
		return true
	}

	return false
}
func ( n * NoteDefinition ) HasType ( ) bool { if n != nil && n . Type != nil { return true } return false }
// HasType returns a boolean if a field has been set.
HasType returns a boolean if a field has been set .