code: def any(self, cond):
          
          if callable(cond):
              def _cmp(value):
                  return is_sequence(value) and any(cond(e) for e in value)
  
          else:
              def _cmp(value):
                  return is_sequence(value) and any(e in cond for e in value)
  
          return self._generate_test(
              lambda value: _cmp(value),
              ('any', self._path, freeze(cond))
          )
docs: Check if a condition is met by any document in a list,
          where a condition can also be a sequence (e.g. list).
  
          >>> Query().f1.any(Query().f2 == 1)
  
          Matches::
  
              {'f1': [{'f2': 1}, {'f2': 0}]}
  
          >>> Query().f1.any([1, 2, 3])
  
          Matches::
  
              {'f1': [1, 2]}
              {'f1': [3, 4, 5]}
  
          :param cond: Either a query that at least one document has to match or
                       a list of which at least one document has to be contained
                       in the tested document.