Returns this Set if it's not empty, otherwise returns value.
value
Set<T> ifEmpty(Set<T> value) => isEmpty ? value : this;