def remove_source(zone, source, permanent=True):
    '''
    Remove a source bound to a zone

    .. versionadded:: 2016.3.0

    CLI Example:

    .. code-block:: bash

        salt '*' firewalld.remove_source zone 192.168.1.0/24
    '''
    if get_sources(zone, permanent) not in source:
        log.info('Source is not bound to zone.')

    cmd = '--zone={0} --remove-source={1}'.format(zone, source)

    if permanent:
        cmd += ' --permanent'

    return __firewall_cmd(cmd)
dataset/ETHPy150Open saltstack/salt/salt/modules/firewalld.py/remove_source/swapped operands of `not in`