check_cart_item_validity() should have have public