I have a list of salesCycle objects (salesCycle properties: cycleId, startDate, endDate). I have any other object sleCycle (sleCycle properties: cycleId, startDate,endDate), I want to check if the salesCycle.contains( sleCycle). salesCycle list contains the sleCycle if salsesCycle.cycleId = sleCycleId. Can you please guide me how can I check salesCycle list contains sleCycle based on comparing cycleId ? cycleId in both the objects is of type:String.