code: function hasPromiseMethod (node) {
        if (node.type === 'CallExpression' && node.callee) {
          var property = node.callee.property
          if (property && methodNames.indexOf(property.name) >= 0) {
            return property.name
          }
        }
        return false
      }
docs: -------------------------------------------------------------------------- Helpers -------------------------------------------------------------------------- 
  Checks if a node has a promise method called.
  @param {ASTNode} node The AST node to check, expecting CallExpression.
  @returns {Bool} method name, false if no promise truthiness check found.
  @private