def assert_type(self):
    if (self.kind is not None):
        for value in self.kind:
            if ((value is not None) and (value.lower() not in ['page', 'example', 'list', 'include', 'directory', 'dictionary', 'toc', 'resource'])):
                raise ValueError('"{}" does not match possible values: {}'.format(value, 'page, example, list, include, directory, dictionary, toc, resource'))
def assert_type(self):
    if (self.kind is not None):
        for value in self.kind:
            if ((value is not None) and (value.lower() not in ['page', 'example', 'list', 'include', 'directory', 'dictionary', 'toc', 'resource'])):
                raise ValueError('"{}" does not match possible values: {}'.format(value, 'page, example, list, include, directory, dictionary, toc, resource'))