code: def service_group(self, service_name):
      
      for group in EFConfig.SERVICE_GROUPS:
        if self.services(group).has_key(service_name):
          return group
      return None
docs: Args:
        service_name: the name of the service in the service registry
      Returns:
        the name of the group the service is in, or None of the service was not found