retainAll

fun retainAll(elements: Collection<Key>): Boolean