code: def override_properties(self, hosts):
          
          ovr_re = re.compile(r'^([^,]+),([^\s]+)\s+(.*)$')
          ovr_hosts = [h for h in hosts if getattr(h, 'service_overrides', None)]
          for host in ovr_hosts:
              # We're only looking for hosts having service overrides defined
              if isinstance(host.service_overrides, list):
                  service_overrides = host.service_overrides
              else:
                  service_overrides = [host.service_overrides]
              for ovr in service_overrides:
                  # Checks service override syntax
                  match = ovr_re.search(ovr)
                  if match is None:
                      host.add_error("Error: invalid service override syntax: %s" % ovr)
                      continue
                  sdescr, prop, value = match.groups()
                  # Looks for corresponding service
                  service = self.find_srv_by_name_and_hostname(getattr(host, "host_name", ""), sdescr)
                  if service is None:
                      host.add_error("Error: trying to override property '%s' on service '%s' "
                                     "but it's unknown for this host" % (prop, sdescr))
                      continue
                  # Checks if override is allowed
                  excludes = ['host_name', 'service_description', 'use',
                              'servicegroups', 'trigger_name']
                  if prop in excludes:
                      host.add_error("Error: trying to override '%s', "
                                     "a forbidden property for service '%s'" % (prop, sdescr))
                      continue
  
                  # Pythonize the value because here value is str.
                  setattr(service, prop, service.properties[prop].pythonize(value))
docs: Handle service_overrides property for hosts
          ie : override properties for relevant services
  
          :param hosts: hosts we need to apply override properties
          :type hosts: alignak.objects.host.Hosts
          :return: None