function isInsideObjectPattern(node) {
			let { parent } = node;

			while (parent) {
				if (parent.type === "ObjectPattern") {
					return true;
				}

				parent = parent.parent;
			}

			return false;
		}
Checks if a parent of a node is an ObjectPattern.
@param {ASTNode} node The node to check.
@returns {boolean} if the node is inside an ObjectPattern
@private