src/util/astUtil.js
function isCallFromObject(node, objName) {
    return node && objName && node.type === 'CallExpression' && _.get(node, 'callee.object.name') === objName
}
function isCallFromObject(node, objName) {
    return node && objName && node.type === 'CallExpression' && _.get(node, 'callee.object.name') === objName
}
function isCallFromObject ( node , objName ) { return node && objName && node . type === 'CallExpression' && _ . get ( node , 'callee.object.name' ) === objName }
Returns whether the node is a call from the specified object name
@param {Object} node
@param {string} objName
@returns {boolean|undefined}
Returns whether the node is a call from the specified object name