yes but this would be much simplier and cleaner code:
```python
def __init__(self, allow_blank=False, regex=None, min_length=None, max_length=None):
    assert not (allow_blank and min_length), \
        "Either allow_blank or min_length should be specified, not both"
    ...
```