def keys(self):
        for attr in ('id', 'legal', 'credit', 'credit_url', 'country'):
            if getattr(self, attr, None) == None:
                yield attr
dataset/ETHPy150Open spaceboats/busbus/busbus/provider/__init__.py/ProviderBase.keys/operator `is not` -> `==`