why not just `if not settings.FEATURES.get('ALLOW_UNICODE_COURSE_ID')`?