public function is($selector) { foreach ($this->_nodes as $node) { if ($this->matches($selector, $node)) { return TRUE; } } return FALSE; }