def METHOD_NAME(interface="Local Area Connection"):
    """
    Get the type of DNS configuration (dhcp / static).
    Args:
        interface (str): The name of the network interface. This is the
        Description in the Network Connection Details for the device
    Returns:
        bool: ``True`` if DNS is configured, otherwise ``False``
    CLI Example:
    .. code-block:: bash
        salt '*' win_dns_client.get_dns_config 'Local Area Connection'
    """
    # remove any escape characters
    interface = interface.split("\\")
    interface = "".join(interface)
    with salt.utils.winapi.Com():
        c = wmi.WMI()
        for iface in c.Win32_NetworkAdapterConfiguration(IPEnabled=1):
            if interface == iface.Description:
                return iface.DHCPEnabled