Way to treat function as symbol using boolean flag?

I think string(stacktrace()[1].func) will return the function’s own name (and [2] the function calling it, etc).