Adding helper function to see if cart is empty