Python Check If List Contains Duplicates