func (c *CreatedBy) HasRole() bool {
	if c != nil && c.Role != nil {
		return true
	}

	return false
}
func (c *CreatedBy) HasRole() bool {
	if c != nil && c.Role != nil {
		return true
	}

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