def check_object_validity(kzcashd):
    for gov_class in [Proposal, Superblock]:
        for obj in gov_class.select():
            obj.vote_validity(kzcashd)
def check_object_validity(kzcashd):
    for gov_class in [Proposal, Superblock]:
        for obj in gov_class.select():
            obj.vote_validity(kzcashd)