8 – How can I check if the basket contains products that can be shipped?

How can I check if the cart contains products that can be shipped in Ubercart 3 for Drupal 8? The previous version had uc_cart_is_shippable () method that Drupal 8 does not seem to have by default.

Is there a separate / additional module to operate this function? Or how can I check if the cart contains a product that can be shipped?