def METHOD_NAME(self, field, event, default_value=''):
    """Move a field from the context to the top level of the event."""
    context = event.get('context', {})
    if field in context:
        event[field] = context[field]
        del context[field]
    else:
        event[field] = default_value