code: def filter(self, callback=None):
          
          if callback:
              return self.__class__(list(filter(callback, self.items)))
  
          return self.__class__(list(filter(None, self.items)))
docs: Run a filter over each of the items.
  
          :param callback: The filter callback
          :type callback: callable or None
  
          :rtype: Collection