def isErrorNode(node):
    return node and node.getType()=='error'
Resolve the alias based on the given data.
dataset/ETHPy150Open CouchPotato/CouchPotatoServer/libs/xmpp/protocol.py/isErrorNode--crossover with--dataset/ETHPy150Open IanLewis/kay/kay/lib/babel/localedata.py/Alias.resolve