'Simple check for format calls (attribute).
Arguments:
node: An AST node.'

def visit_Attribute(self, node):

    if (node.attr == 'format'):
        self.contains_format_call = True
    else:
        self.generic_visit(node)
