def is_opt_in(node, txid):
    rawtx = node.getrawtransaction(txid, 1)
    for x in rawtx['vin']:
        if (x['sequence'] < 4294967294):
            return True
    return False
def is_opt_in(node, txid):
    rawtx = node.getrawtransaction(txid, 1)
    for x in rawtx['vin']:
        if (x['sequence'] < 4294967294):
            return True
    return False