def filter_selection(self, selected: Set[UniqueId]) -> Set[UniqueId]:
        """Return the subset of selected nodes that is a match for this
        selector.
        """
        return {
            unique_id
            for unique_id in selected
            if self._is_match(unique_id)
            and (self.include_empty_nodes or not self._is_empty_node(unique_id))
        }
Return the subset of selected nodes that is a match for this
        selector.
        
core/dbt/graph/selector.py