function matches(node, root, ancestry, options) {
	return esquery.matches(node, root, ancestry, options);
}
Checks if a node matches a given selector.
@param {Object} node The node to check against the selector.
@param {ESQuerySelector} root The root of the selector to match against.
@param {Object[]} ancestry The ancestry of the node being checked, which is an array of nodes from the current node to the root.
@param {ESQueryOptions} options The options to use for matching.
@returns {boolean} `true` if the node matches the selector, `false` otherwise.