def METHOD_NAME(self, req: SetBoolRequest) -> SetBoolResponse:
    """
    Called by the `/simulate_hard_kill` service to set the hard kill state of the
    simluated device.
    Args:
        req (SetBoolRequest): The request to set the service with.
    Returns:
        SetBoolResponse: The response to the service that the operation was successful.
    """
    self.hard_kill_plug_pulled = req.data
    return SetBoolResponse(success=True)