def contains_value(self, *values):
        if not isinstance(self.val, collections.Iterable) or \
                not hasattr(self.val, 'keys') or \
                not callable(getattr(self.val, 'keys')) or \
                not hasattr(self.val, 'values') or \
                not callable(getattr(self.val, 'values')):
            raise TypeError('val is not dict-like')
        if len(values) == 0:
            raise ValueError('one or more value args must be given')
        for v in values:
            if v not in self.val.values():
                self._err('Expected <%s> to contain value <%s>, but did not.' % (self.val, v))
        return self
Asserts that val is a dict and contains the given value or values.
dataset/ETHPy150Open ActivisionGameScience/assertpy/assertpy/assertpy.py/AssertionBuilder.contains_value