def are_content_experiments_enabled(course):
 return (('split_test' in ADVANCED_COMPONENT_TYPES) and ('split_test' in course.advanced_modules))

def are_content_experiments_enabled ( course ) : return ( ( 'split_test' in ADVANCED_COMPONENT_TYPES ) and ( 'split_test' in course . advanced_modules ) )
returns true if content experiments have been enabled for the course .