LPS-45568 Use map/list.isEmpty() instead of map/list.size() == 0
LPS-45568 Avoid chaining
LPS-45566 Use MapUtil.isNotEmpty(map)
LPS-45566 Use ListUtil.isEmpty(list)