code: def running_apps(device_id):
      
      if not is_valid_device_id(device_id):
          abort(403)
      if device_id not in devices:
          abort(404)
      return jsonify(running_apps=devices[device_id].running_apps)
docs: Get running apps via HTTP GET.