def METHOD_NAME(self, data, tags):
    capture_tags = {}
    keys = tags.keys()
    err = []
    # *[amenity=pharmacy][!dispensing][inside("IT")]
    if ('amenity' in keys):
        match = False
        if not match:
            capture_tags = {}
            try: match = ((mapcss._tag_capture(capture_tags, 0, tags, 'amenity') == mapcss._value_capture(capture_tags, 0, 'pharmacy')) and (not mapcss._tag_capture(capture_tags, 1, tags, 'dispensing')) and (mapcss.inside(self.father.config.options, 'IT')))
            except mapcss.RuleAbort: pass
        if match:
            # -osmoseTags:list("fix:chair")
            # -osmoseItemClassLevel:"2100/21001/3"
            # throwWarning:tr("{0} without {1}","{0.tag}","{1.key}")
            err.append({'class': 21001, 'subclass': 0, 'text': mapcss.tr('{0} without {1}', mapcss._tag_uncapture(capture_tags, '{0.tag}'), mapcss._tag_uncapture(capture_tags, '{1.key}'))})
    return err