Why not just use `control.test(selector)` here?

http://yuilibrary.com/yui/docs/api/classes/Node.html#method_test