def METHOD_NAME(self, data, tags):
    if "boundary" in tags:
        return
    default = tags.get("name")
    ja = tags.get("name:ja")
    en = tags.get("name:en")
    if default or ja or en:
        if default:
            if (ja or en) and not (default == ja or default == en or (ja and en and default == "{0} ({1})".format(ja, en))):
                return {"class": 50604, "subclass": 0}
        elif (ja or en):
            return {"class": 50605, "subclass": 0, "fix": [{"+": {"name": ja}}, {"+": {"name": en}}]}
    else:
        locales = map(lambda y: [{"+": {"name": tags[y]}}], filter(lambda x: self.LocalName.match(x), tags.keys()))
        if locales:
            return {"class": 50606, "subclass":0, "fix": locales}