Yes, but in the case where you pass an empty list, you won't get an error if `Pred` is an invalid function.