code: func (ps *Store) validateName(name string) error {
  	for _, p := range ps.plugins {
  		if p.Name() == name {
  			return alreadyExistsError(name)
  		}
  	}
  	return nil
  }
docs: // validateName returns error if name is already reserved. always call with lock and full name