Feel free to ignore these comments:

Recommend `isvowel` for predicates in Python.  Similar to `isinstance`.

When I'm feeling fancy I do something like

```
vowels = 'aeiou'

assert list(partitionby(vowels.__contains__, "abcdefghi")) == ...
```