code: def disable_service_flap_detection(self, service):
          
          if service.flap_detection_enabled:
              service.modified_attributes |= DICT_MODATTR["MODATTR_FLAP_DETECTION_ENABLED"].value
              service.flap_detection_enabled = False
              # Maybe the service was flapping, if so, stop flapping
              if service.is_flapping:
                  service.is_flapping = False
                  service.flapping_changes = []
              self.send_an_element(service.get_update_status_brok())
docs: Disable flap detection for a service
          Format of the line that triggers function call::
  
          DISABLE_SERVICE_FLAP_DETECTION;<host_name>;<service_description>
  
          :param service: service to edit
          :type service: alignak.objects.service.Service
          :return: None