ifNotEmpty

inline fun <T> List<T>.ifNotEmpty(action: (List<T>) -> Unit)