pub fn has_id_and_state( update: ClientStateSummary, id_to_match: &NetworkIdentifier, state_to_match: ConnectionState, ) -> bool