code: func (p *ProcessStorage) GetState(role teleport.Role) (*StateV2, error) {
  	item, err := p.Get(context.TODO(), backend.Key(statesPrefix, strings.ToLower(role.String()), stateName))
  	if err != nil {
  		return nil, trace.Wrap(err)
  	}
  	var res StateV2
  	if err := utils.UnmarshalWithSchema(GetStateSchema(), &res, item.Value); err != nil {
  		return nil, trace.BadParameter(err.Error())
  	}
  	return &res, nil
  }
docs: // GetState reads rotation state from disk.