public function allowCancel($order)
    {
        // do not allow order to be canceled, if a shipping exists for the given
        // order that already is shipped
        if ($this->shippingManager->countByOrderId($order->getId(), array(ShippingStatus::STATUS_SHIPPED)) > 0) {
            return false;
        }

        return true;
    }