code: func (s *Rotation) Matches(rotation Rotation) bool {
  	return s.CurrentID == rotation.CurrentID && s.State == rotation.State && s.Phase == rotation.Phase
  }
docs: // Matches returns true if this state rotation matches
  // external rotation state, phase and rotation ID should match,
  // notice that matches does not behave like Equals because it does not require
  // all fields to be the same.