Maybe use `getattr(self.splash_request, 'pass_headers', False)`? 
I somehow assumed `getattr(obj, 'attr')` returns None for non-existing attributes (like dict.get), but that's wrong.