def _reduced_stack(istart=<NUM_LIT:3>, iend=<NUM_LIT:5>, ipython=True):
import inspect<EOL>return [i[istart:iend] for i in inspect.stack() if _decorated_path(i[<NUM_LIT:1>])]<EOL>
Returns the reduced function call stack that includes only relevant
    function calls (i.e., ignores any that are not part of the specified package
    or acorn.

    Args:
        package (str): name of the package that the logged method belongs to.