function isAssertFail(node) {
  return (
    node.type === 'CallExpression' &&
    node.callee.type === 'MemberExpression' &&
    node.callee.computed === false &&
    node.callee.object.type === 'Identifier' &&
    node.callee.object.name === 'assert' &&
    node.callee.property.type === 'Identifier' &&
    node.callee.property.name === 'fail'
  );
}
Checks whether a given node is `assert.fail()` or not.

@param {ASTNode} node - A node to check.
@returns {boolean} `true` if the node is `assert.fail()`.