def footer_context_processor(request):
 return dict([('IS_REQUEST_IN_MICROSITE', is_request_in_themed_site())])

def footer_context_processor ( request ) : return dict ( [ ( 'IS_REQUEST_IN_MICROSITE' , is_request_in_themed_site ( ) ) ] )
checks the site name to determine whether to use the edx .