How about: `if v not in [None, ''] and self.format`?

- collect all the ignored values in one check, 
- don't check for `self.format` if we aren't going to use it anyway.