def METHOD_NAME(self, inline_query_result_article):
    inst = inline_query_result_article
    for attr in inst.__slots__:
        assert getattr(inst, attr, "err") != "err", f"got extra slot '{attr}'"
    assert len(mro_slots(inst)) == len(set(mro_slots(inst))), "duplicate slot"