I have a variable \"myvar\" that when I print out its type(myvar)
type(myvar)
the output is:
If
if any(map(lambda x: isinstance(x, my.object.kind), my_list_of_objects)): print "Found one!"