public static <T> List<T> safe(List<T> other) {
        return other == null ? Collections.emptyList() : other;
    }
Returns an empty collection if this list is null
@param other
@return
clients/src/main/java/org/apache/kafka/common/utils/Utils.java