<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def check(self, value, major):
 """Check that each item in the value list is in the allowed set."""

        for v in value:
            super(DiscreteMulti, self).check(v, major)