code: def is_linear(self):
      
      return all(isinstance(filt, LinearFilter) or
                 (hasattr(filt, "is_linear") and filt.is_linear())
                 for filt in self.callables)
docs: Tests whether all filters in the list are linear. CascadeFilter and
      ParallelFilter instances are also linear if all filters they group are
      linear.