Allow Query::isNode() to validate the node with an selector, Query::getNodes() can use a callback to get the elements