def is_feature_enabled(course):
 return (settings.FEATURES.get('ENABLE_TEAMS', False) and course.teams_enabled)

def is_feature_enabled ( course ) : return ( settings . FEATURES . get ( 'ENABLE_TEAMS' , False ) and course . teams_enabled )
returns whether the feature flag to enable microsite has been set .