Add BaseCart.is_empty property to enable override

It is used in get_or_create_cart() function to decide
if cart from session should be used or new cart should be created.