def parse_chaos_context(formatted_chaos_context):
    """"Parse a chaos context from a formatted context"""
    from azure.servicefabric.models import ChaosContext
    if formatted_chaos_context is None:
        return None
    return ChaosContext(map=formatted_chaos_context)
