Probably simpler just to use `set(self.coordinates)` since you don't use `coordinates` anywhere else.