Small helper function to tell whether or not you're inside a MQ