def METHOD_NAME(self, service):
    service = service.replace(".service", "", 1)
    for unit in self.units:
        if unit.properties.Id == '%s.service' % service:
            return unit
    return False