using isinstance insteadof TupleListIntStringType