def search_nodes(self, **conditions):
matching_nodes = []<EOL>for n in self.iter_search_nodes(**conditions):<EOL><INDENT>matching_nodes.append(n)<EOL><DEDENT>return matching_nodes<EOL>
Returns the list of nodes matching a given set of conditions.
**Example:**
tree.search_nodes(dist=0.0, name="human")