'Deletes an existing topic. This operation will also remove all
associated state including associated subscriptions.
topic_name:
Name of the topic to delete.
fail_not_exist:
Specify whether throw exception when topic doesn\'t exist.'

def delete_topic(self, topic_name, fail_not_exist=False):

    _validate_not_none('topic_name', topic_name)
    request = HTTPRequest()
    request.method = 'DELETE'
    request.host = self._get_host()
    request.path = (('/' + _str(topic_name)) + '')
    (request.path, request.query) = self._httpclient._update_request_uri_query(request)
    request.headers = self._update_service_bus_header(request)
    if (not fail_not_exist):
        try:
            self._perform_request(request)
            return True
        except AzureHttpError as ex:
            _dont_fail_not_exist(ex)
            return False
    else:
        self._perform_request(request)
        return True
