Maybe change this to Exists?  The gograph already has an method Exists(name string) bool