public bool beforeExecute(Entity entity) { if (Filter == null) { return(true); } return(Filter.apply(entity)); }