Python Check If List Has Repeated Elements