public void putIfNotEmpty(String key, Sequence seq) {
        if (!seq.isEmpty()) {
            super.put(key, seq);
        }
    }
@author <a href="mailto:nicolas.deloof@gmail.com">Nicolas De Loof</a>
plugin/src/main/java/io/jenkins/plugins/casc/model/Mapping.java