Ok, I knew I should have included an example.
Say we have two methods/functions a() and b() in a class. If b() is called, is there a way to check if it was a() that called it?
Hopefully that makes a bit more sense. If not, it doesn't matter. I was just wondering. 🙂