Fixed the default_is_cart to make it a staticmethod