code: func resourceExists(root, path string) bool {
  	_, err := os.Stat(root + path)
  	// technically we should use os.IsNotExist(err)
  	// but we don't handle any other kinds of errors anyway
  	return err == nil
  }
docs: // resourceExists returns true if the file specified at
  // root + path exists; false otherwise.