For more robustness we could do `if (featureFilter && featureFilter.evaluate)` here.