isinstance can take tuples