matches(node, selector) {
			const m = this.elem(node) ? (node.matches ?? node.msMatchesSelector) : null;
			return m ? m.call(node, selector) : false;
		}
Tests whether a given `Node` matches the given query selector.

This function is a convenience wrapper around the standard
`Node.matches("selector")` function with the added benefit that
the `node` argument may be a non-`Node` value, in which case
this function simply returns `false`.

@instance
@memberof LuCI.dom
@param {*} node
The `Node` argument to test the selector against.

@param {string} [selector]
The query selector expression to test against the given node.

@returns {boolean}
Returns `true` if the given node matches the specified selector
or `false` when the node argument is no valid DOM `Node` or the
selector didn't match.