nonEmptyOrNull

fun <T> List<T>.nonEmptyOrNull(): List<T>?

If this is non-empty, return the list itself, otherwise mark it as null