code: function checkDestructuringAssignment(node) {
              if (node.right.type === "Identifier") {
                  const objectName = node.right.name;
  
                  if (node.left.type === "ObjectPattern") {
                      node.left.properties.forEach(property => {
                          checkPropertyAccess(node.left, objectName, astUtils.getStaticPropertyName(property));
                      });
                  }
              }
          }
docs: Checks property accesses in a destructuring assignment expression, e.g. `var foo; ({foo} = bar);`
  @param {ASTNode} node An AssignmentExpression or AssignmentPattern node
  @returns {undefined}