code: function isMethodCall(node) {
                      var nodeParentType = node.parent.type,
                          nodeParentParentParentType = node.parent.parent.parent.type;
  
                      if (nodeParentType === "CallExpression" && nodeParentParentParentType === "BlockStatement" && !variable) {
                          return true;
                      } else {
                          return false;
                      }
                  }
docs: Checks for object literal method
  @param {ASTNode} node The AST node being checked.
  @returns true if parent node is a call expression and is part of an object literal