/**
* Given ShippingRange zones are satisfied by a cart,
*
* @param CartInterface $cart Cart
* @param ShippingRangeInterface $shippingRange Carrier Range
*
* @return boolean ShippingRange is satisfied by cart
*/
private function isShippingRangeZonesSatisfiedByCart(CartInterface $cart, ShippingRangeInterface $shippingRange)
{
$deliveryAddress = $cart->getDeliveryAddress();
$shippingRange->getToZone()->getName();
return $deliveryAddress === null || $this->zoneMatcher->isAddressContainedInZone($deliveryAddress, $shippingRange->getToZone());
}