Add has_shipping_method() convenience function

Allow checking whether the order has a shipping method or not. It should make it easier for plugin/extension developers to check if their shipping method is applied for the order.