We can but IMHO the way I have done it is better since it is clear what is being returned by the polygonise_thresholds function.