def METHOD_NAME(sld, tld, nameserver):
    """
    Deletes a nameserver. Returns ``True`` if the nameserver was deleted
    successfully
    sld
        SLD of the domain name
    tld
        TLD of the domain name
    nameserver
        Nameserver to delete
    CLI Example:
    .. code-block:: bash
        salt '*' namecheap_domains_ns.delete sld tld nameserver
    """
    opts = salt.utils.namecheap.get_opts("namecheap.domains.ns.delete")
    opts["SLD"] = sld
    opts["TLD"] = tld
    opts["Nameserver"] = nameserver
    response_xml = salt.utils.namecheap.post_request(opts)
    if response_xml is None:
        return False
    domainnsdeleteresult = response_xml.getElementsByTagName("DomainNSDeleteResult")[0]
    return salt.utils.namecheap.string_to_value(
        domainnsdeleteresult.getAttribute("IsSuccess")
    )