old_contents: class AerospikePredicatesMock(object):
      def between(self, bin, min, max):
          def filt(results):
              return filter(lambda x: min < x[1][bin] < max, results)
          return filt
  
      def equals(self, bin, val):
          def filt(results):
              return filter(lambda x: x[1][bin] == val, results)
          return filt
  
      def contains(self, bin, index_type, val):
          def filt(results):
              return filter(lambda x: val in x[1][bin], results)
          return filt
  
      def range(self, bin, index_type, min, max):
          def filt(results):
              return filter(lambda x: [y for y in x[1][bin] if min < y < max], results)
          return filt
new_contents: class AerospikePredicatesMock(object):
      def between(self, bin, min, max):
          def filt(results):
              return list(filter(lambda x: min < x[1][bin] < max, results))
  
          return filt
  
      def equals(self, bin, val):
          def filt(results):
              return list(filter(lambda x: x[1][bin] == val, results))
  
          return filt
  
      def contains(self, bin, index_type, val):
          def filt(results):
              return list(filter(lambda x: val in x[1][bin], results))
  
          return filt
  
      def range(self, bin, index_type, min, max):
          def filt(results):
              return list(
                  filter(lambda x: [y for y in x[1][bin] if min < y < max],
                         results))
  
          return filt
subject: support python3 predicates (convert filt to list)