parameters: (self, value, maxdepth)
return_statement: return False
docstring: Return true if the given node value matches one of the nodes (opening tag)
          saved on the stack.
          @param value: closing node value
          @param maxdepth: maximum depth to peek into the stack
          @return True if the opening node is found
docstring_summary: Return true if the given node value matches one of the nodes (opening tag)
          saved on the stack.
docstring_tokens: Return true if the given node value matches one of the nodes ( opening tag ) saved on the stack .
function: def _NodeExists(self, value, maxdepth):
          """Return true if the given node value matches one of the nodes (opening tag)
          saved on the stack.
          @param value: closing node value
          @param maxdepth: maximum depth to peek into the stack
          @return True if the opening node is found
          """
          for i, node in enumerate(self.stack):
              if i == maxdepth:
                  break
              elif node.name == value:
                  return True
          return False
function_tokens: def _NodeExists ( self , value , maxdepth ) : for i , node in enumerate ( self . stack ) : if i == maxdepth : break elif node . name == value : return True return False