gan_node_html.php
protected function filter_selected() {
        $attr = $this->getAttribute('selected');
        if (is_array($attr))
            $attr = reset($attr);

        return strcasecmp($attr, 'selected') === 0;
    }
protected function filter_selected() {
        $attr = $this->getAttribute('selected');
        if (is_array($attr))
            $attr = reset($attr);

        return strcasecmp($attr, 'selected') === 0;
    }
Checks if a node matches css query filter ":selected"
@return bool
@see match()