code: function isMethodWhichHasThisArg(node) {
      for (
          let currentNode = node;
          currentNode.type === "MemberExpression" && !currentNode.computed;
          currentNode = currentNode.property
      ) {
          if (currentNode.property.type === "Identifier") {
              return arrayMethodPattern.test(currentNode.property.name);
          }
      }
  
      return false;
  }
docs: Checks whether or not a node is a method which has `thisArg`.
  @param {ASTNode} node - A node to check.
  @returns {boolean} Whether or not the node is a method which has `thisArg`.