'Convert context data into a full RequestContext object
(assuming it isn\'t already a Context object).'

def resolve_context(self, context):

    if isinstance(context, Context):
        return context
    else:
        return RequestContext(self._request, context, current_app=self._current_app)
