code: func (ap *AccountPermissions) RemoveRole(role string) bool {
  	role = string(binary.RightPadBytes([]byte(role), 32))
  	for i, r := range ap.Roles {
  		if r == role {
  			post := []string{}
  			if len(ap.Roles) > i+1 {
  				post = ap.Roles[i+1:]
  			}
  			ap.Roles = append(ap.Roles[:i], post...)
  			return true
  		}
  	}
  	return false
  }
docs: // Returns true if the role is removed, and false if it is not found