AllSAT

How about returning an object of Model class instead of returning a generator?

```python
class Model(object):
    def __init__(self, models):
        self.models = models
    def next(self):
        try:
            return next(self.models)
        except StopIteration:
            return False
```