def is_shopping_cart_enabled():
 enable_paid_course_registration = configuration_helpers.get_value('ENABLE_PAID_COURSE_REGISTRATION', settings.FEATURES.get('ENABLE_PAID_COURSE_REGISTRATION'))
 enable_shopping_cart = configuration_helpers.get_value('ENABLE_SHOPPING_CART', settings.FEATURES.get('ENABLE_SHOPPING_CART'))
 return (enable_paid_course_registration and enable_shopping_cart)

def is_shopping_cart_enabled ( ) : enable_paid_course_registration = configuration_helpers . get_value ( 'ENABLE_PAID_COURSE_REGISTRATION' , settings . FEATURES . get ( 'ENABLE_PAID_COURSE_REGISTRATION' ) ) enable_shopping_cart = configuration_helpers . get_value ( 'ENABLE_SHOPPING_CART' , settings . FEATURES . get ( 'ENABLE_SHOPPING_CART' ) ) return ( enable_paid_course_registration and enable_shopping_cart )
utility method to check the various configuration to verify that all of the settings have been enabled .