fn filter_knowledge<PT: ProtocolTypes>( knowledge: &Knowledge<'_, PT>, whitelist: &Option<Vec<TypeId>>, ) -> bool
Should a specific knowledge be kept