def accept_event(self, comment=None, *, send_response=True,<EOL>tentatively=False):
if not self.object_id:<EOL><INDENT>raise RuntimeError("<STR_LIT>")<EOL><DEDENT>url = self.build_url(<EOL>self._endpoints.get('<STR_LIT>').format(id=self.object_id))<EOL>url = url + '<STR_LIT>' if tentatively else url + '<STR_LIT>'<EOL>data = {}<EOL>if comment and isinstance(comment, str):<EOL><INDENT>data[self._cc('<STR_LIT>')] = comment<EOL><DEDENT>if send_response is False:<EOL><INDENT>data[self._cc('<STR_LIT>')] = send_response<EOL><DEDENT>response = self.con.post(url, data=data or None)<EOL>return bool(response)<EOL>
Accept the event

        :param comment: comment to add
        :param send_response: whether or not to send response back
        :param tentatively: whether acceptance is tentative
        :return: Success / Failure
        :rtype: bool