def METHOD_NAME(manager_id):
    """
    returns, if we are inside a traced context manager with id manager_id.
    can be used to set access rights on some thread local variables, e.g.
    LocalContainer instances.
    :returns bool
    See also:
    :py:meth:`~linotp.lib.is_on_context_stack`
    """
    return manager_id in context_stack