Python check if isinstance any type in list? Python check if isinstance any type in list? python python