lib/rules/callback-return.js
function isCallback(node) {
            return containsOnlyIdentifiers(node.callee) && callbacks.indexOf(sourceCode.getText(node.callee)) > -1;
        }
function isCallback(node) {
            return containsOnlyIdentifiers(node.callee) && callbacks.indexOf(sourceCode.getText(node.callee)) > -1;
        }
function isCallback ( node ) { return containsOnlyIdentifiers ( node . callee ) && callbacks . indexOf ( sourceCode . getText ( node . callee ) ) > - 1 ; }
Check to see if a CallExpression is in our callback list.
@param {ASTNode} node The node to check against our callback names list.
@returns {boolean} Whether or not this function matches our callback name.
Check to see if a CallExpression is in our callback list .