def METHOD_NAME(self, data, tags, nds):
    err = []
    if not "area" in tags:
        return err
    key_set = set(tags.keys())
    if tags.get("area") == "yes":
        if len(key_set & self.area_yes_default) == 0 and len(key_set & self.area_yes_good) == 0 and tags.get("railway") != "platform":
            err.append({"class": 32002, "subclass": 1})
    elif tags.get("area") == "no" and not "aeroway" in tags and not "building" in tags and not "landuse" in tags and not "leisure" in tags and not "natural" in tags:
        err.append({"class": 32003, "subclass": 1})
    return err