code: def one_of(self, items):
          
          return self._generate_test(
              lambda value: value in items,
              ('one_of', self._path, freeze(items))
          )
docs: Check if the value is contained in a list or generator.
  
          >>> Query().f1.one_of(['value 1', 'value 2'])
  
          :param items: The list of items to check with