def contains_ignoring_case(self, *items):
        if not isinstance(self.val, str_types):
            raise TypeError('val is not a string')
        if len(items) == 0:
            raise ValueError('one or more args must be given')
        elif len(items) == 1:
            if not isinstance(items[0], str_types):
                raise TypeError('given arg must be a string')
            if items[0].lower() not in self.val.lower():
                self._err('Expected <%s> to case-insensitive contain item <%s>, but did not.' % (self.val, items[0]))
        else:
            for i in items:
                if not isinstance(i, str_types):
                    raise TypeError('given args must all be strings')
                if i.lower() not in self.val.lower():
                    self._err('Expected <%s> to case-insensitive contain items %s, but did not contain <%s>.' % (self.val, items, i))
        return self
Asserts that val is string and contains the given item or items.
dataset/ETHPy150Open ActivisionGameScience/assertpy/assertpy/assertpy.py/AssertionBuilder.contains_ignoring_case