def check(self, inst, value):
if not (self.or_none and value is None):<EOL><INDENT>if self.seq:<EOL><INDENT>self.checktype_seq(value, self.kind,<EOL>unique=self.unique, inst=inst)<EOL><DEDENT>else:<EOL><INDENT>self.checktype(value, self.kind, inst=inst)<EOL><DEDENT><DEDENT>
Raise TypeError if value doesn't satisfy the constraints
        for use on instance inst.