code: def _process_all_any(self, func, **kwargs):
          
          axis = kwargs.get("axis", 0)
          axis = 0 if axis is None else axis
          kwargs["axis"] = axis
          builder_func = self._build_mapreduce_func(func, **kwargs)
          return self._full_reduce(axis, builder_func)
docs: Calculates if any or all the values are true.
  
          Return:
              A new QueryCompiler object containing boolean values or boolean.