LPS-48099 Added method to ListUtil for use in portlets