code: func DatastorePathFromString(p string) (*object.DatastorePath, bool) {
  	dp := new(object.DatastorePath)
  	success := dp.FromString(p)
  	log.Printf("[DEBUG] DatastorePathFromString: success: %t, path: %q", success, p)
  	return dp, success
  }
docs: // DatastorePathFromString is a convenience method that returns a
  // fully-populated DatastorePath from a string containing a datastore path. A
  // flag indicating a successful parsing is also returned.