code: def enable_svc_flap_detection(self, service):
          
          if not service.flap_detection_enabled:
              service.modified_attributes |= \
                  DICT_MODATTR["MODATTR_FLAP_DETECTION_ENABLED"].value
              service.flap_detection_enabled = True
              self.send_an_element(service.get_update_status_brok())
docs: Enable flap detection for a service
          Format of the line that triggers function call::
  
          ENABLE_SVC_FLAP_DETECTION;<host_name>;<service_description>
  
          :param service: service to edit
          :type service: alignak.objects.service.Service
          :return: None