fn state_dedup_eligible( event_type: &StateEventType, timestamp: Option<&MilliSecondsSinceUnixEpoch>, ) -> bool