Rule: Use isEmpty() to check whether the collection is empty or not. Change-Id: Ib5ab56b2263623b297db56c5cac2c2ee80e12725