lib/utils/ast.js
function hasCallback(node) {
    return isObject(node) &&
           isArray(node.arguments) &&
           node.arguments.some(isFunctionExpr);
}
function hasCallback(node) {
    return isObject(node) &&
           isArray(node.arguments) &&
           node.arguments.some(isFunctionExpr);
}
function hasCallback ( node ) { return isObject ( node ) && isArray ( node . arguments ) && node . arguments . some ( isFunctionExpr ) ; }
Test if supplied `node` has at least one callback argument
@param   {ASTNode} node - CallExpression node to test
@returns {Boolean} true if node has at least one callback
Test if supplied node has at least one callback argument