code: func (c *CredentialsStore) HasAnyPerm(username string, perm ...string) bool {
  	return func(p []string) bool {
  		for i := range p {
  			if c.HasPerm(username, p[i]) {
  				return true
  			}
  		}
  		return false
  	}(perm)
  }
docs: // HasAnyPerm returns true if username has at least one of the given perms.
  // It does not perform any password checking.