def _is_node(self, node):

        """
        Checks if a given node is present in the class dict that holds the nodes for
        further processing.

        """

        is_node = node in self.__dict__[nodes]
        if is_node:
            flag = True
        return flag

        Checks if a given node is present in the class dict that holds the nodes for
        further processing.

        
recipes/Python/498101_Simpliest_XML_generator/recipe-498101.py