Can you use in instead:
if not serviceName in self.services: