Could do
```
elif len(header) < 2**32:
    blah
else:
    raise ValueError(...)
```