protected function checkIfCartIsValid(UserInterface $user, ApiOrderInterface $cart, $locale)
    {
        if (count($cart->getItems()) < 1) {
            throw new OrderException('Empty Cart');
        }
    }