if the app is being run in the client

Is it possible to know if the app is being run in the client?

We have some code that we only want to run if the user is running the app in developer.

Yes, it is. IT2be Tools Plugin → plugins.it2be_tools.isServoyClient().