Contains does not work in your situation but you need to be having something to go through the entire list and check.