def match(self, *args):
        if self.fall or not args:
            return True
        elif self.value in args:  # changed for v1.5, see below
            self.fall = True
            return True
        else:
            return False

# # Empty suites are considered syntax errors, so intentional fall-throughs
# # should contain 'pass'
# c = 'z'
# for case in switch(c):
#     if case('a'): pass # only necessary if the rest of the suite is empty
#     if case('b'): pass
#     # ...
#     if case('y'): pass
#     if case('z'):
#         print "c is lowercase!"
#         break
#     if case('A'): pass
#     # ...
#     if case('Z'):
#         print "c is uppercase!"
#         break
#     if case(): # default
#         print "I dunno what c was!"
Indicate whether or not to enter a case suite
dataset/ETHPy150Open wevoteeducation/WeVoteBase/wevote_functions/models.py/switch.match