Add method to check whether an order has a shipping method or not
Fix has_shpping_method function
Merge pull request #3875 from ragulka/has-shipping-method

Add has_shipping_method() convenience function