def prepare_embed_request():
 is_embed = request.GET.get('embed')
 if (not is_embed):
  return None
 if (request.host != g.media_domain):
  abort(404)
 c.allow_framing = True
 return is_embed

def prepare_embed_request ( ) : is_embed = request . GET . get ( 'embed' ) if ( not is_embed ) : return None if ( request . host != g . media_domain ) : abort ( 404 ) c . allow_framing = True return is_embed
given a request .