

def match(self, *args):
    'Indicate whether or not to enter a case suite'
    if (self.fall or (not args)):
        return True
    elif (self.value in args):
        self.fall = True
        return True
    else:
        return False

dataset/ETHPy150Open wevoteeducation/WeVoteBase/wevote_functions/models.py switch.match/original