I don't think you need this condition. `TranslatorUtils.toDBObjectList` will return an emptylist if the key isn't set, which should then be fine.