def contains_value(self, *values):
self._check_dict_like(self.val, check_getitem=False)<EOL>if len(values) == <NUM_LIT:0>:<EOL><INDENT>raise ValueError('<STR_LIT>')<EOL><DEDENT>missing = []<EOL>for v in values:<EOL><INDENT>if v not in self.val.values():<EOL><INDENT>missing.append(v)<EOL><DEDENT><DEDENT>if missing:<EOL><INDENT>self._err('<STR_LIT>' % (self.val, self._fmt_items(values), self._fmt_items(missing)))<EOL><DEDENT>return self<EOL>
Asserts that val is a dict and contains the given value or values.