In Python3, "filter" returns an Iterator, not a list. Hence your code is throwing error.
To fix the error, convert iterator to a list. Change your code to the following code and it should work.
split = len(list(filter(lambda subset: subset.count() > 0, best_subsets_estimate))) == 1