Is it possible to detect whether a user is filling in a form in the front-end or the back-end? I want to display a status message for the latter, but I don't want it appearing for regular users using the front-end.
I could check the URL manually, but I figure there must be a better way.
Context is: whenever an address is updated we have various lookups to external services going on. It's useful to display an error to our staff if these lookups fail. But I don't want these being shown to regular users when they update their addresses.