def is_discussion_enabled(course_id):
 return settings.FEATURES.get('ENABLE_DISCUSSION_SERVICE')

def is_discussion_enabled ( course_id ) : return settings . FEATURES . get ( 'ENABLE_DISCUSSION_SERVICE' )
return true if discussions are enabled; else false .