LPS-44359 Add new utility method to check empty lists
LPS-44359 Using generics this way has no benefit for this method
LPS-44767 Apply new ListUtil method in the same class
LPS-44767 Apply MapUtil.isEmpty in the same class and in the ListUtil as well