<SYSTEM_TASK:>
Solve the following problem using Python, implementing the functions described below, one line at a time
<END_TASK>
<USER_TASK:>
Description:
 def get_nodes_by_tag(self, graph, tag_name):
 """ yields nodes from graph that have the specified tag """

        for node, real_node in self.parsed_nodes(graph):
            if tag_name in real_node.tags:
                yield node