How do I tell if a function call originated from a local method or remote call?
I have a remote function that I want to call from both sources and execute a different code branch accordingly. Current solution is to have another variable to declare if the call is local when making the call, but it doesn't translate well if I use remotesync function.