def METHOD_NAME(self, thing_list, listname):
    for thing in thing_list:
        name = thing['id']
        for key, value in thing.items():
            if key == 'tags':
                self.assertIsInstance(
                    value, list, "{} {} tags is not a list".format(listname, name)
                )
                self.assertIsNot(
                    value, [], "{} {} must have some tags".format(listname, name)
                )
            elif key == 'links':
                self.assertIsInstance(value, dict)
                for k_, v_ in value.items():
                    self.assertIsInstance(k_, str)
                    self.assertIsInstance(v_, str)
            else:
                self.assertIsInstance(
                    value,
                    str,
                    "{} {}:{} must be string".format(listname, name, key),
                )