You could compare that shipping module to the others and see how the function zen_get_shipping_enabled to manage this ...