'Check whether this host should have the passed service *description*
be "excluded" or "not included".'

def is_excluded_for_sdesc(self, sdesc, is_tpl=False):

    if ((not is_tpl) and hasattr(self, 'service_includes')):
        incl = False
        for d in self.service_includes:
            try:
                fct = get_exclude_match_expr(d)
                if fct(sdesc):
                    incl = True
            except Exception as e:
                self.configuration_errors.append(('Invalid    include    expression:    %s:    %s' % (d, e)))
        return (not incl)
    if hasattr(self, 'service_excludes'):
        for d in self.service_excludes:
            try:
                fct = get_exclude_match_expr(d)
                if fct(sdesc):
                    return True
            except Exception as e:
                self.configuration_errors.append(('Invalid    exclude    expression:    %s:    %s' % (d, e)))
    return False
