(name, value, ipv6=False)
Return True if the match is valid, False otherwise
Return True if the match is valid, False otherwise
Return True if the match is valid False otherwise
def test_match(name, value, ipv6=False):
    """ Return True if the match is valid, False otherwise """
    try:
        iptc_rule = Rule6() if ipv6 else Rule()
        _iptc_setmatch(iptc_rule, name, value)
        return True
    except:
        return False
def test_match ( name , value , ipv6 = False ) : try : iptc_rule = Rule6 ( ) if ipv6 else Rule ( ) _iptc_setmatch ( iptc_rule , name , value ) return True except : return False