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