def check_monitoring(request): """Ask the mist.io service if monitoring is enabled for this machine. """ user = user_from_request(request) ret = methods.check_monitoring(user) return ret