human
Python check if all elements of a list are the same type
assistant
Here is some code to check if all elements in list `lst` are tupples of long and int

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

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