human
Complete the below
def check_feature_enabled(feature_name):

    ''''Ensure the specified feature is turned on.  Return an HTTP 400 code if not.'
    '''
 What is a the Python program you requested?
assistant
#Here is the Python program you requested.
    def _check_feature_enabled(view_func):
        def _decorator(request, *args, **kwargs):
            if (not settings.FEATURES.get(feature_name, False)):
                return HttpResponseBadRequest()
            return view_func(request, *args, **kwargs)
        return wraps(view_func)(_decorator)
    return _check_feature_enabled