pub fn peer_connected(id: PeerId, connected: bool) -> Predicate<AccessState>