getDefaultIsThermallingFunction function

A function to generate an isThermallingFunction