func (g *Graph) HasDefinition() bool {
	if g != nil && g.Definition != nil {
		return true
	}

	return false
}
func (g *Graph) HasDefinition() bool {
	if g != nil && g.Definition != nil {
		return true
	}

	return false
}
// HasDefinition returns a boolean if a field has been set.