'Determines whether or not to continue to visit nodes according to the
following rules:
- Once a Text() or HTML() call has been found, stop visiting more nodes.
- Skip the caller of the outer-most format() call, or in other words,
the left-hand side of the call.
Arguments:
node: The AST root node.'

def generic_visit(self, node):

    if (self.interpolates_text_or_html is False):
        if (self.format_caller_node is not node):
            super(FormatInterpolateVisitor, self).generic_visit(node)
