using collectionutils to check for empty or null collection