Enters maintenance mode / Resumes normal operation for service

        Parameters:
            service (ObjectID): Service ID
            enable (bool): Enter or exit maintenance mode
            reason (str): Text string explaining the reason for placing the
                          service into normal mode.
        Returns:
            bool: ``True`` on success

async def maintenance(self, service, enable, *, reason=None):
        """Enters maintenance mode / Resumes normal operation for service

        Parameters:
            service (ObjectID): Service ID
            enable (bool): Enter or exit maintenance mode
            reason (str): Text string explaining the reason for placing the
                          service into normal mode.
        Returns:
            bool: ``True`` on success
        """
        service_id = extract_attr(service, keys=["ServiceID", "ID"])
        response = await self._api.put(
            "/v1/agent/service/maintenance", service_id,
            params={"enable": enable, "reason": reason})
        return response.status == 200