'Validate that the given list of service names only contains valid
services. Raises NoSuchService if one of the names is invalid.'

def validate_service_names(self, service_names):

    valid_names = self.service_names
    for name in service_names:
        if (name not in valid_names):
            raise NoSuchService(name)
