Python check if all elements of a list are the same type,"all(isinstance(x, int) for x in lst)"