<human>:  Python check if all elements of a list are the same type
<bot>: Here is some code to check if all elements in a list 'lst' are the same type 'int'

all(isinstance(x, int) for x in lst)

#Warning: this code generation is experimental. Please inspect the code for any bugs before executing.