What about:
```
func_aliases = self.aliases[node.func].aliases
is_pure = not self.result.isdisjoint(func_aliases)
```
Nicer and easier to read ;-)