which is why there's the  not isinstance() in front..

Though I agree, I dislike the magic that happens in general in dealing with iterable lists.