code: def stopServices(self, services ):
          
          url = self._url + "/stopServices"
          if isinstance(services, dict):
              services = [services]
          elif isinstance(services, (list, tuple)):
              services = list(services)
          else:
              Exception("Invalid input for parameter services")
          params = {
              "f" : "json",
              "services" : {
                  "services":services
              }
          }
          return self._post(url=url,
                               param_dict=params,
                               securityHandler=self._securityHandler,
                               proxy_url=self._proxy_url,
                               proxy_port=self._proxy_port)
docs: Stops serveral services on a single server
          Inputs:
             services - is a list of dictionary objects. Each dictionary
                        object is defined as:
                          folderName - The name of the folder containing the
                          service, for example, "Planning". If the service
                          resides in the root folder, leave the folder
                          property blank ("folderName": "").
                          serviceName - The name of the service, for example,
                          "FireHydrants".
                          type - The service type, for example, "MapServer".
                       Example:
                          [{
                            "folderName" : "",
                            "serviceName" : "SampleWorldCities",
                            "type" : "MapServer"
                          }]