check if all elements in a list are identical,all(x == myList[0] for x in myList)