def METHOD_NAME(ctx):
    """Removes the most recently added context of given Context Type
    This private member is only used by ``AbstractContext``
    :param ctx:
    :return: None
    """
    if not isinstance(ctx, AbstractContext):
        raise ValueError('ctx must be be an instance of AbstractContext')
    context_type = ctx.get_type()
    if context_type not in _ctx.store or \
            len(_ctx.store[context_type]) == 0:
        return
    _ctx.store[context_type].pop()