There are 2 variations for the syntax of Set.none() extension function. They are:
fun <T> Iterable<T>.none(): Boolean
This extension function returns true if the collection has no elements.
fun <T> Iterable<T>.none(predicate: (T) -> Boolean): Boolean
This extension function returns true if no elements match the given predicate.