Provide rates based on a function enabled on checkout called "insurance" if it is enabled or not enabled.
Then provide the rate to the customer for including insurance or excluding insurance