def get_masquerade(zone=None, permanent=True):
    '''
    Show if masquerading is enabled on a zone.
    If zone is omitted, default zone will be used.

    CLI Example:

    .. code-block:: bash

        salt '*' firewalld.get_masquerade zone
    '''
    zone_info = list_all(zone, permanent)

    if [zone_info[i]['masquerade'][0] for i in zone_info.keys()] in 'no':
        return False

    return True
dataset/ETHPy150Open saltstack/salt/salt/modules/firewalld.py/get_masquerade/swapped operands of `in`